Mercurial > hg > chronicle
comparison Makefile @ 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 | a86f5aad9966 |
children | b7212009c857 |
comparison
equal
deleted
inserted
replaced
292:644ba9f3ffd2 | 293:e2a71248ae72 |
---|---|
98 | 98 |
99 # | 99 # |
100 # Tidy the code | 100 # Tidy the code |
101 # | 101 # |
102 tidy: | 102 tidy: |
103 if [ -x /usr/bin/perltidy ]; then \ | 103 if [ -x ~bin/perltidy ]; then \ |
104 perltidy -b -nt -bt=2 -sbt=1 -bl -mbl=3 -sbl -bbs -bbb -anl -lp bin/chronicle ;\ | 104 ~/bin/perltidy ~/bin/chronicle cgi-bin/comments.cgi \ |
105 perltidy -b -nt -bt=2 -sbt=1 -bl -mbl=3 -sbl -bbs -bbb -anl -lp cgi-bin/comments.cgi \ | |
106 ; fi | 105 ; fi |
107 | 106 |
108 | 107 |
109 # | 108 # |
110 # Run the test suite. | 109 # Run the test suite. |