summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2002-11-13 14:44:00 +0000
committerPascal Rigaux <pixel@mandriva.com>2002-11-13 14:44:00 +0000
commita4a7e80c8c89ae1e962a86ae14e2f1865f95d1f7 (patch)
tree26e73a6ca23f81d7e02c2643a852cec04a5be447 /Makefile
parent602848d7fba65f080b8a5a3f46b881b48320e4f5 (diff)
downloadperl-MDK-Common-a4a7e80c8c89ae1e962a86ae14e2f1865f95d1f7.tar
perl-MDK-Common-a4a7e80c8c89ae1e962a86ae14e2f1865f95d1f7.tar.gz
perl-MDK-Common-a4a7e80c8c89ae1e962a86ae14e2f1865f95d1f7.tar.bz2
perl-MDK-Common-a4a7e80c8c89ae1e962a86ae14e2f1865f95d1f7.tar.xz
perl-MDK-Common-a4a7e80c8c89ae1e962a86ae14e2f1865f95d1f7.zip
new perl_checker written in OCaml (not as featured as previous perl_checker yet
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile12
1 files changed, 9 insertions, 3 deletions
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