Initial commit
[jamendo] / antigen.sh
1 #!/bin/sh
2 #
3 # A utility script to remove all generated files.
4 #
5 # Running autogen.sh will be required after running this script since
6 # the 'configure' script will also be removed.
7 #
8 # This script is mainly useful when testing autoconf/automake changes
9 # and as a part of their development process.
10 # If there's a Makefile, then run the 'distclean' target first (which
11 # will also remove the Makefile).
12 if test -f Makefile; then
13   make distclean
14 fi
15 # Remove all tar-files (assuming there are some packages).
16 rm -f *.tar.* *.tgz
17 # Also remove the autotools cache directory.
18 rm -Rf autom4te.cache
19 # Remove rest of the generated files.
20 rm -f Makefile.in aclocal.m4 configure depcomp install-sh missing \
21         config.h.in config.sub config.guess \
22         intltool-*.in ltmain.sh mkinstalldirs \
23         src/Makefile.in
24 rm -Rf po