aboutsummaryrefslogtreecommitdiffstats
path: root/maintainer/tidy
diff options
context:
space:
mode:
authorroot <root>2007-09-08 16:49:37 +0000
committerroot <root>2007-09-08 16:49:37 +0000
commit44341d32524c1621357bac52ffca7d8e9270c3e4 (patch)
treef9920382c2c19f05d3d09f4f5ce07f2cb1312247 /maintainer/tidy
parent77f753281564930411f0a0a0965810fb80f22915 (diff)
downloadgpt-44341d32524c1621357bac52ffca7d8e9270c3e4.tar.gz
gpt-44341d32524c1621357bac52ffca7d8e9270c3e4.tar.bz2
gpt-44341d32524c1621357bac52ffca7d8e9270c3e4.zip
*** empty log message ***
Diffstat (limited to 'maintainer/tidy')
-rwxr-xr-xmaintainer/tidy33
1 files changed, 33 insertions, 0 deletions
diff --git a/maintainer/tidy b/maintainer/tidy
new file mode 100755
index 0000000..d7065ef
--- /dev/null
+++ b/maintainer/tidy
@@ -0,0 +1,33 @@
+#!/bin/sh
+#
+# tidy:
+#
+# Copyright (c) 2007 James McKenzie <james@fishsoup.dhs.org>,
+# All rights reserved.
+#
+# $Id: tidy,v 1.1 2007/09/08 16:49:37 root Exp $
+#
+# $Log: tidy,v $
+# Revision 1.1 2007/09/08 16:49:37 root
+# *** empty log message ***
+#
+#
+#
+#
+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
+