diff --git a/tools/autotoolize.sh b/tools/autotoolize.sh new file mode 100755 index 0000000000000000000000000000000000000000..a4afb02186076f829b9a994c5b5eab35a2a4e724 --- /dev/null +++ b/tools/autotoolize.sh @@ -0,0 +1,12 @@ +#!/bin/sh + +if [ ! -e configure.ac ] +then + echo $0 must be called from top source directory. + exit 1 +fi + +echo autoreconf ... +echo > stamp-h.in +autoreconf --verbose --force --install --warnings=all,no-portability || { echo failed. ; exit 1 ; } + diff --git a/tools/bleach.sh b/tools/bleach.sh new file mode 100755 index 0000000000000000000000000000000000000000..ca3b56337bd37ebd374704f92359e3d700c20228 --- /dev/null +++ b/tools/bleach.sh @@ -0,0 +1,20 @@ +#!/bin/sh + +if [ ! -e configure.ac ] +then + echo $0 must be called from top source directory. + exit 1 +fi + +if [ -e Makefile ] +then + make distclean +fi + +rm -Rf aclocal.m4 compile config.guess config.h.in config.sub configure \ + depcomp install-sh ltmain.sh Makefile.in missing stamp-h.in autom4te.cache + +for mf in `find . -name Makefile.in` +do + test -e `basename "$mf" .in`.am && rm -f "$mf" +done