added perltidy rule
This commit is contained in:
parent
8be8f39add
commit
cb77db18b9
15
Makefile
15
Makefile
@ -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
|
||||
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user