1
0
mirror of synced 2026-01-24 11:01:41 +00:00

added perltidy rule

This commit is contained in:
Steve Kemp 2008-04-01 20:52:15 +01:00
parent 8be8f39add
commit cb77db18b9

View File

@ -200,7 +200,7 @@ manpages:
#
# Make a new release tarball, and make a GPG signature.
#
release: fixup-perms update-version update-modules clean changelog
release: tidy fixup-perms update-version update-modules clean changelog
rm -rf $(DIST_PREFIX)/$(BASE)-$(VERSION)
rm -f $(DIST_PREFIX)/$(BASE)-$(VERSION).tar.gz
cp -R . $(DIST_PREFIX)/$(BASE)-$(VERSION)
@ -228,6 +228,17 @@ test-verbose:
#
# Run our main script(s) through perltidy
#
tidy:
if [ -x /usr/bin/perltidy ]; then \
for i in bin/*-*; do \
echo "tidying $$i"; \
perltidy -b -nt -bt=2 -sbt=1 -bl -mbl=3 -sbl -bbs -bbb -anl -lp $$i \
; done \
; fi
#
# Uninstall the software, completely.
#
@ -258,7 +269,7 @@ uninstall:
#
# NOTE: Removes empty local directories.
#
update:
update:
hg pull --update 2>/dev/null