summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorville <ville@localhost>2009-11-23 22:11:19 +0000
committerville <ville@localhost>2009-11-23 22:11:19 +0000
commit675a1c5355fc61459257de958e7090837e36507a (patch)
treec82fee0f1c1132a95bafedb91f7105b16807e55e
parent5fb3e6b37b6304c1d0a96c9ee43a554ec3b32d32 (diff)
downloadmarkup-validator-675a1c5355fc61459257de958e7090837e36507a.zip
markup-validator-675a1c5355fc61459257de958e7090837e36507a.tar.gz
markup-validator-675a1c5355fc61459257de958e7090837e36507a.tar.bz2
Make perltidy backup/modify-in-place.
-rw-r--r--Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 73c5532..320586f 100644
--- a/Makefile
+++ b/Makefile
@@ -2,10 +2,12 @@ PERL_FILES = httpd/cgi-bin/check httpd/cgi-bin/sendfeedback.pl \
misc/spmpp.pl misc/docs_errors.pl misc/bundle/Makefile.PL \
misc/bundle/lib/Bundle/W3C/Validator.pm
+PERLTIDY = perltidy --profile=misc/perltidyrc --backup-and-modify-in-place
+
all:
tidy:
for file in $(PERL_FILES) ; do \
echo "Tidying $$file..." ; \
- perltidy --profile=misc/perltidyrc $$file ; \
+ $(PERLTIDY) $$file ; \
done