Finish converting to .splintrc.
authorjbj <devnull@localhost>
Sat, 7 Dec 2002 19:00:57 +0000 (19:00 +0000)
committerjbj <devnull@localhost>
Sat, 7 Dec 2002 19:00:57 +0000 (19:00 +0000)
CVS patchset: 5919
CVS date: 2002/12/07 19:00:57

beecrypt/.splintrc [moved from beecrypt/.lclintrc with 100% similarity]
beecrypt/Makefile.am
python/.splintrc [moved from python/.lclintrc with 100% similarity]
python/Makefile.am

similarity index 100%
rename from beecrypt/.lclintrc
rename to beecrypt/.splintrc
index 6ddc27d..a233dd8 100644 (file)
@@ -34,6 +34,8 @@ LIBBEECRYPT_LT_REVISION = 0
 
 AUTOMAKE_OPTIONS = gnu check-news no-dependencies
 
+LINT = splint
+
 SUBDIRS = docs gas masm mwerks tests
 
 SUFFIXES = .S
@@ -76,9 +78,9 @@ sources:
        @echo $(libbeecrypt_la_SOURCES:%=beecrypt/%) | sed -e 's,beecrypt/javaglue.c,,'
 
 # XXX don't bite into javaglue.c (yet)
-.PHONY: lclint
-lclint:
-       lclint $(DEFS) $(INCLUDES) $(libbeecrypt_la_SOURCES:javaglue.c=) tests/beetest.c
+.PHONY: lint
+lint:
+       $(LINT) $(DEFS) $(INCLUDES) $(libbeecrypt_la_SOURCES:javaglue.c=) tests/beetest.c
 
 .PHONY: listobjs
 listobjs:
similarity index 100%
rename from python/.lclintrc
rename to python/.splintrc
index e4ed37c..9baac46 100644 (file)
@@ -2,6 +2,8 @@
 
 AUTOMAKE_OPTIONS = 1.4 foreign
 
+LINT = splint
+
 PYVER= @WITH_PYTHON_VERSION@
 
 SUBDIRS = rpmdb test
@@ -69,6 +71,6 @@ splint_srcs = hash.c upgrade.c \
        rpmal-py.c rpmds-py.c rpmfd-py.c rpmfi-py.c rpmmi-py.c \
        rpmrc-py.c rpmte-py.c rpmts-py.c
 
-.PHONY:        lclint
-lclint:
-       lclint $(DEFS) $(INCLUDES) $(splint_srcs)
+.PHONY:        lint
+lint:
+       $(LINT) $(DEFS) $(INCLUDES) $(splint_srcs)