summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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