diff options
author | root <root@lamia.panaceas.james.local> | 2017-01-16 12:15:12 +0000 |
---|---|---|
committer | root <root@lamia.panaceas.james.local> | 2017-01-16 12:15:12 +0000 |
commit | 8ee35c49abfcc5118b085fe63994b533944b4595 (patch) | |
tree | ee13b96b27e9dacc454edf90ef94d37bacce9528 /maintainer/tidy | |
parent | d3e1d3a645885f5721a060902e9c09c5f202c561 (diff) | |
download | twa_t-8ee35c49abfcc5118b085fe63994b533944b4595.tar.gz twa_t-8ee35c49abfcc5118b085fe63994b533944b4595.tar.bz2 twa_t-8ee35c49abfcc5118b085fe63994b533944b4595.zip |
maintainer scripts
Diffstat (limited to 'maintainer/tidy')
-rwxr-xr-x | maintainer/tidy | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/maintainer/tidy b/maintainer/tidy new file mode 100755 index 0000000..072dc35 --- /dev/null +++ b/maintainer/tidy @@ -0,0 +1,26 @@ +#!/bin/sh +# +# tidy: +# +# Copyright (c) 2017 James McKenzie <foss@madingley.org>, +# All rights reserved. +# +# +# +if [ -f Makefile ]; then + make distclean +fi + +#for i in acconfig.h AUTHORS bstrap ChangeLog configure.in COPYING INSTALL mdist NEWS README tidy src/config.h.in `find . -name Makefile.am -print` `find . -name \*.[ch] -print` ; do +# if [ -f $i ]; then +# gimme $i +# fi +#done + +find . -name \*.[ch] -print | xargs indent -i2 -ts0 + +find . -name \*~ -print| xargs /bin/rm -f +find . -name \*.BAK -print| xargs /bin/rm -f +find . -name a.out -print| xargs /bin/rm -f +find . -name core -print| xargs /bin/rm -f + |