From 5969b84ce3d36a4dd59e2459ec341b41413c0176 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Wed, 13 Nov 2002 14:44:00 +0000 Subject: new perl_checker written in OCaml (not as featured as previous perl_checker yet --- Makefile | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 05253a1..3a71235 100644 --- a/Makefile +++ b/Makefile @@ -7,6 +7,8 @@ INSTALLVENDORLIB = $(shell eval "`perl -V:installvendorlib`"; echo $$installvend GENERATED = MDK/Common.pm index.html +.PHONY: perl_checker.src + all: $(GENERATED) test index.html: MDK/Common.pm @@ -15,16 +17,20 @@ index.html: MDK/Common.pm MDK/Common.pm: %: %.pl perl $< > $@ -test: - ./perl_checker MDK/Common/*.pm +perl_checker.src: + $(MAKE) -C $@ + +test: perl_checker.src + perl_checker.src/perl_checker MDK/Common/*.pm clean: rm -f $(GENERATED) + $(MAKE) -C perl_checker.src clean find -name "*~" | xargs rm -rf install: clean all install -d $(BINDIR) $(INSTALLVENDORLIB)/MDK/Common - install perl_checker $(BINDIR) + install perl_checker.src/perl_checker $(BINDIR) install -m 644 MDK/Common.pm $(INSTALLVENDORLIB)/MDK install -m 644 MDK/Common/*.pm $(INSTALLVENDORLIB)/MDK/Common -- cgit v1.2.1