diff options
-rw-r--r-- | Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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 |