From 92dee513d21e94a3aa7ee455d12cffed82db2ff2 Mon Sep 17 00:00:00 2001 From: jbj Date: Sat, 7 Dec 2002 19:00:57 +0000 Subject: [PATCH] Finish converting to .splintrc. CVS patchset: 5919 CVS date: 2002/12/07 19:00:57 --- beecrypt/{.lclintrc => .splintrc} | 0 beecrypt/Makefile.am | 8 +++++--- python/{.lclintrc => .splintrc} | 0 python/Makefile.am | 8 +++++--- 4 files changed, 10 insertions(+), 6 deletions(-) rename beecrypt/{.lclintrc => .splintrc} (100%) rename python/{.lclintrc => .splintrc} (100%) diff --git a/beecrypt/.lclintrc b/beecrypt/.splintrc similarity index 100% rename from beecrypt/.lclintrc rename to beecrypt/.splintrc diff --git a/beecrypt/Makefile.am b/beecrypt/Makefile.am index 6ddc27d..a233dd8 100644 --- a/beecrypt/Makefile.am +++ b/beecrypt/Makefile.am @@ -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: diff --git a/python/.lclintrc b/python/.splintrc similarity index 100% rename from python/.lclintrc rename to python/.splintrc diff --git a/python/Makefile.am b/python/Makefile.am index e4ed37c..9baac46 100644 --- a/python/Makefile.am +++ b/python/Makefile.am @@ -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) -- 2.7.4