comparison Makefile @ 176:6e1fe18b30b7

Fixed to run perltidy correctly
author Steve Kemp <steve@steve.org.uk>
date Tue, 01 Apr 2008 20:48:15 +0100
parents 4b0b1944e6bb
children c078b940bf3b
comparison
equal deleted inserted replaced
175:887a460d77d5 176:6e1fe18b30b7
95 95
96 # 96 #
97 # Tidy the code 97 # Tidy the code
98 # 98 #
99 tidy: 99 tidy:
100 perltidy -b -nt -bt=2 -sbt=1 -bl -mbl=3 -sbl -bbs -bbb -anl -lp bin/chronicle 100 if [ -x /usr/bin/perltidy ]; then \
101 perltidy -b -nt -bt=2 -sbt=1 -bl -mbl=3 -sbl -bbs -bbb -anl -lp bin/chronicle ;\
102 perltidy -b -nt -bt=2 -sbt=1 -bl -mbl=3 -sbl -bbs -bbb -anl -lp cgi-bin/comments.cgi \
103 ; fi
101 104
102 105
103 # 106 #
104 # Run the test suite. 107 # Run the test suite.
105 # 108 #