Makefile
author ville
Mon, 23 Nov 2009 21:57:53 +0000
changeset 2936 a895ac1d11c1
child 2937 f55b47ae1c23
permissions -rw-r--r--
Add perltidy(1) settings and a simple Makefile target for running it.
2936
a895ac1d11c1 Add perltidy(1) settings and a simple Makefile target for running it.
ville
parents:
diff changeset
     1
PERL_FILES = httpd/cgi-bin/check httpd/cgi-bin/sendfeedback.pl \
a895ac1d11c1 Add perltidy(1) settings and a simple Makefile target for running it.
ville
parents:
diff changeset
     2
	misc/spmpp.pl misc/docs_errors.pl misc/bundle/Makefile.PL \
a895ac1d11c1 Add perltidy(1) settings and a simple Makefile target for running it.
ville
parents:
diff changeset
     3
	misc/bundle/lib/Bundle/W3C/Validator.pm
a895ac1d11c1 Add perltidy(1) settings and a simple Makefile target for running it.
ville
parents:
diff changeset
     4
a895ac1d11c1 Add perltidy(1) settings and a simple Makefile target for running it.
ville
parents:
diff changeset
     5
all:
a895ac1d11c1 Add perltidy(1) settings and a simple Makefile target for running it.
ville
parents:
diff changeset
     6
a895ac1d11c1 Add perltidy(1) settings and a simple Makefile target for running it.
ville
parents:
diff changeset
     7
tidy:
a895ac1d11c1 Add perltidy(1) settings and a simple Makefile target for running it.
ville
parents:
diff changeset
     8
	for file in $(PERL_FILES) ; do \
a895ac1d11c1 Add perltidy(1) settings and a simple Makefile target for running it.
ville
parents:
diff changeset
     9
		echo "Tidying $$file..." ; \
a895ac1d11c1 Add perltidy(1) settings and a simple Makefile target for running it.
ville
parents:
diff changeset
    10
		perltidy --profile=misc/perltidyrc $$file ; \
a895ac1d11c1 Add perltidy(1) settings and a simple Makefile target for running it.
ville
parents:
diff changeset
    11
	done