validator Makefile,1.4,1.5

Update of /sources/public/validator
In directory hutz:/tmp/cvs-serv13824

Modified Files:
	Makefile 
Log Message:
Add perlcritic(1) profile and a Makefile target for running it.

Index: Makefile
===================================================================
RCS file: /sources/public/validator/Makefile,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- Makefile	24 Nov 2009 17:53:22 -0000	1.4
+++ Makefile	24 Nov 2009 18:34:00 -0000	1.5
@@ -3,9 +3,13 @@
 	misc/bundle/lib/Bundle/W3C/Validator.pm
 
 PERLTIDY = perltidy --profile=misc/perltidyrc --backup-and-modify-in-place
+PERLCRITIC = perlcritic --profile misc/perlcriticrc
 
 all:
 
+perlcritic:
+	$(PERLCRITIC) $(PERL_FILES)
+
 perltidy:
 	@for file in $(PERL_FILES) ; do \
 		echo "$(PERLTIDY) $$file" ; \

Received on Tuesday, 24 November 2009 18:34:03 UTC