autoclean.sh 742 Bytes
#!/bin/sh
# Script for cleaning all autogenerated files.

test ! -f Makefile || make distclean

# Brought in by autopoint.
rm -f ABOUT-NLS
mv m4/ax_create_stdint_h.m4 .
rm -f m4/*.m4
mv ax_create_stdint_h.m4 m4
rm -f src/po/Makefile.in.in
rm -f src/po/remove-potcdate.sin

# Generated by aclocal.
rm -f aclocal.m4

# Generated by autoconf.
rm -f configure

# Generated by autoheader
rm -f config.h.in

# Generated or brought in by automake.
rm -f Makefile.in
rm -f m4/Makefile.in
rm -f src/Makefile.in
rm -f INSTALL
rm -f COPYING

# Generated by all in config
rm -rf config

rm -rf autom4te.cache

# Generated by testruns
find . -name exc_test.fil -exec rm -f {} \;

# Generated by doxygen
rm -f doxy.wrn
rm -rf doc/full/*
rm -rf doc/usage/*