[distcache-cvs] cvs: distcache unbootstrap.sh,NONE,1.1
Brought to you by:
geoffthorpe
From: DistCacheCVS - G. T. <geo...@us...> - 2002-08-12 21:16:37
|
Update of /cvsroot/distcache/distcache In directory usw-pr-cvs1:/tmp/cvs-serv7231 Added Files: unbootstrap.sh Log Message: Given there is a "bootstrap.sh" script, the purpose of this should be relatively obvious. --- NEW FILE: unbootstrap.sh --- #!/bin/sh # This script handles unwinding the GNU autotools. # # Running this script should (hopefully) clean up any/all gunge left lying # around from the autotools - ie. leaving you with something resembling as # closely as possible the state of CVS. if [ -f Makefile ]; then make distclean fi # Zilch any "*.in" files except configure.in, and zilch configure too find . -type f -name "*.in" | egrep -v "configure.in$" | xargs rm -f rm -f configure # Zilch miscellaneous generated files find . -type f -name "aclocal.m4*" | xargs rm -f rm -f config.* rm -f conftest* rm -f stamp-h.in rm -f aclocal.m4 rm -rf autom4te*.cache # If the config/ directory exists, blow it away if [ -d config ]; then rm -rf config/ fi # Residual backup files and what-not find . -type f -name "*~" | xargs rm -f find . -type f -name "*.bak" | xargs rm -f find . -type f -name ".#*" | xargs rm -f # Get rid of packaging byproducts rm -f .packagelist rm -rf .temppackagedir # Clean autoconf stuff that autoconf itself doesn't clean rm -f config.status |