Mercurial > hg > chronicle
changeset 293:e2a71248ae72
Use the local perltidy. if present
author | Steve Kemp <steve@steve.org.uk> |
---|---|
date | Tue, 09 Dec 2008 18:59:31 +0000 |
parents | 644ba9f3ffd2 |
children | e8884c1ebc5f |
files | Makefile |
diffstat | 1 files changed, 2 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/Makefile Tue Dec 09 18:58:14 2008 +0000 +++ b/Makefile Tue Dec 09 18:59:31 2008 +0000 @@ -100,9 +100,8 @@ # Tidy the code # tidy: - 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 \ + if [ -x ~bin/perltidy ]; then \ + ~/bin/perltidy ~/bin/chronicle cgi-bin/comments.cgi \ ; fi