summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile12
-rw-r--r--perl-MDK-Common.spec5
2 files changed, 13 insertions, 4 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
diff --git a/perl-MDK-Common.spec b/perl-MDK-Common.spec
index 8e886a6..3e11c0c 100644
--- a/perl-MDK-Common.spec
+++ b/perl-MDK-Common.spec
@@ -2,7 +2,7 @@
# do not change the version here, change in MDK/Common.pm.pl
%define version THEVERSION
-%define release 18mdk
+%define release 19mdk
Summary: Various simple functions
Name: perl-MDK-Common
@@ -50,6 +50,9 @@ rm -rf $RPM_BUILD_ROOT
# MODIFY IN THE CVS: cvs.mandrakesoft.com:/cooker soft/perl-MDK-Common
%changelog
+* Wed Nov 13 2002 Pixel <pixel@mandrakesoft.com> 1.0.4-1mdk
+- new perl_checker written in OCaml (not as featured as previous perl_checker yet)
+
* Thu Nov 7 2002 Pixel <pixel@mandrakesoft.com> 1.0.3-18mdk
- perl_checker: many more warnings
- warn unneeded parentheses after an infix foreach/if/unless