Mercurial > hg > chronicle
changeset 176:6e1fe18b30b7
Fixed to run perltidy correctly
author | Steve Kemp <steve@steve.org.uk> |
---|---|
date | Tue, 01 Apr 2008 20:48:15 +0100 |
parents | 887a460d77d5 |
children | 210e50f5e1bf |
files | Makefile |
diffstat | 1 files changed, 4 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/Makefile Tue Apr 01 20:47:13 2008 +0100 +++ b/Makefile Tue Apr 01 20:48:15 2008 +0100 @@ -97,7 +97,10 @@ # Tidy the code # tidy: - perltidy -b -nt -bt=2 -sbt=1 -bl -mbl=3 -sbl -bbs -bbb -anl -lp bin/chronicle + if [ -x /usr/bin/perltidy ]; then \ + perltidy -b -nt -bt=2 -sbt=1 -bl -mbl=3 -sbl -bbs -bbb -anl -lp bin/chronicle ;\ + perltidy -b -nt -bt=2 -sbt=1 -bl -mbl=3 -sbl -bbs -bbb -anl -lp cgi-bin/comments.cgi \ + ; fi #