-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathcleantree
executable file
·38 lines (37 loc) · 1.24 KB
/
cleantree
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
27
28
29
30
31
32
33
34
35
36
37
#!/bin/bash
#
# Clean up the tree
for x in \*~ .libs autom4te.cache configure config.log config.status configure.scan autoscan.log; do find -name $x -exec rm -Rfv {} + ; done
find -name \*.deps -exec rm -Rfv {} +
find -iname \*.log -exec rm -fv {} +
find -name \*.so -exec rm -fv {} +
find -name \*.lo -exec rm -fv {} +
find -name \*~ -exec rm -fv {} +
#find -name \*.la -exec rm -fv {} +
find -name \*.a -exec rm -fv {} +
find -name \*.o -exec rm -fv {} +
rm -f config.mak test.errors test.errors.valgrind test.results test.results.valgrind
rm -f config.h.in config.h
rm -Rfv m4 doc
rm -f aclocal.m4
rm -f NEWS AUTHORS ChangeLog COPYING INSTALL Makefile.in libtool stamp-h1 config.{guess,sub} install-sh compile ltmain.sh missing
find -name \*.la -exec rm -fv {} +
find -name \*.loT -exec rm -fv {} +
find -name Makefile -exec rm -fv {} +
find -name Makefile.in -exec rm -fv {} +
rm -f isp-utils isp-utils-v4
rm -Rf build
find -name nul.err -delete
find -name \*.cmd -delete
find -name test.dsk -delete
find -name test720.dsk -delete
find -name test360.dsk -delete
rm -f testiso.iso
rm -fv dos/asmexam/test*.dsk
rm -fv config_public.h
rm -v .web.dl.nfo
rm -Rfv web.cache
rm -v build-test.iso
true
# libmspack
(cd ext/libmspack && (git clean -dfx; git reset --hard))