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
commit5969b84ce3d36a4dd59e2459ec341b41413c0176 (patch)
tree2e0736accd56087bc0771811b50bb7dbe7f553e7 /Makefile
parent2c8b3f3ee3e78fcbd6e62fed4548a5841f97d279 (diff)
downloadperl_checker-5969b84ce3d36a4dd59e2459ec341b41413c0176.tar
perl_checker-5969b84ce3d36a4dd59e2459ec341b41413c0176.tar.gz
perl_checker-5969b84ce3d36a4dd59e2459ec341b41413c0176.tar.bz2
perl_checker-5969b84ce3d36a4dd59e2459ec341b41413c0176.tar.xz
perl_checker-5969b84ce3d36a4dd59e2459ec341b41413c0176.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