-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathautoclean.sh
executable file
·26 lines (26 loc) · 1.09 KB
/
autoclean.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#!/bin/sh
#
# Execute this script to clean the directory and leave it as
# a fresh git repo
#
# This file is free software: you are free to change and redistribute it.
# There is NO WARRANTY, to the extent permitted by law.
#
if test -e Makefile; then
make clean
fi
rm -f *~ src/*~
rm -f src/*.o src/*.lo src/*~
rm -rf src/.deps src/.libs src/.dirstamp src/stamp-h1 src/config.h.in src/config.h
rm -f README INSTALL PLUGINS README.pdf INSTALL.pdf PLUGINS.pdf README.html INSTALL.html PLUGINS.html
rm -f README doc/README.pdf doc/README.html INSTALL doc/INSTALL.pdf doc/INSTALL.html PLUGINS doc/PLUGINS doc/PLUGINS.pdf doc/PLUGINS.html
rm -f aclocal.m4 configure config.log config.status compile depcomp install-sh missing ltmain.sh config.guess config.sub libtool libtool test-driver
rm -f src/version.h src/version-vcs.h src/version-conf.h version.m4
rm -rf autom4te.cache
rm -rf src/.deps src/.libs src/.dirstamp src/stamp-h1 src/config.h.in src/config.h
rm -f Makefile Makefile.in src/Makefile src/Makefile.in
rm -rf ${plugin}.so ${plugin} src/lib${plugin}.la
rm -rf src/wasora
cd examples
./clean.sh
cd ..