-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathautoclean.sh
More file actions
executable file
·132 lines (117 loc) · 2.69 KB
/
Copy pathautoclean.sh
File metadata and controls
executable file
·132 lines (117 loc) · 2.69 KB
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
#!/bin/sh
set -e
# cleaning up
rm -rf vendor
rm -rf libdcl
test ! -f Makefile || make distclean
# delete all temporary and backup files
find . -iname '*~'|xargs rm -f
find . -iname '*.bak'|xargs rm -f
find . -iname '*.la'|xargs rm -f
find . -iname '*.lot'|xargs rm -f
find . -iname ".deps"|xargs rm -rf
find . -iname ".libs"|xargs rm -rf
find . -iname "*.log"|xargs rm -f
find . -iname "*.o"|xargs rm -f
find . -iname "*.trs"|xargs rm -f
# brought in by gettext
rm -f gettext.h
rm -rf intl
rm -f po/POTFILES.in
# brought in by autopoint
rm -f ABOUT-NLS
rm -rf build
rm -rf intl
rm -f po/Makefile.in.in
rm -f po/remove-potcdate.sin
# generated by aclocal
rm -f aclocal.m4
# generated by autoconf
rm -f configure
# generated or brought in by automake
rm -f po/*.pot
rm -f po/stamp-po
rm -f po/*.gmo
rm -f aclocal.m4
rm -f configure
rm -rf autom4te.cache
rm -rf build/
find m4/* -prune -not -iname 'ax_*' -not -iname 'Makefile.am'|xargs rm -f
find . -name Makefile|xargs rm -f
find . -name Makefile.in|xargs rm -f
rm -f install-sh
rm -f missing
rm -f config.*
rm -f stamp-h1
rm -f depcomp
rm -f ltmain.sh
rm -f libtool
## Cleaning up subprojects
cd src/mimetic
# cleaning up
test ! -f Makefile || make distclean
# generated by aclocal
rm -f aclocal.m4
# generated by autoconf
rm -f configure
# generated or brought in by automake
rm -rf autom4te.cache
find m4/* -prune -not -iname 'ax_*' -not -iname 'Makefile.am'|xargs rm -f
find . -name Makefile|xargs rm -f
find . -name Makefile.in|xargs rm -f
rm -f install-sh
rm -f missing
rm -f config.*
rm -f stamp-h1
rm -f depcomp
rm -f ltmain.sh
rm -f libtool
rm -f compile
rm -f mimetic/config.h.in
cd ../..
cd src/fcgi-2.4.1-SNAP-0910052249
# cleaning up
test ! -f Makefile || make distclean
# generated by aclocal
rm -f aclocal.m4
# generated by autoconf
rm -f configure
# generated or brought in by automake
rm -rf autom4te.cache
rm -f m4/lt*.m4
rm -f m4/libtool.m4
find . -name Makefile|xargs rm -f
find . -name Makefile.in|xargs rm -f
rm -f install-sh
rm -f missing
rm -f config.*
rm -f stamp-h1
rm -f depcomp
rm -f ltmain.sh
rm -f libtool
rm -f compile
rm -f fcgi_config.h.in
cd ../..
# delete all temporary and backup files
find . -iname '*~'|xargs rm -f
find . -iname '*.bak'|xargs rm -f
find . -iname '*.lot'|xargs rm -f
find . -iname ".deps"|xargs rm -rf
find . -iname ".libs"|xargs rm -rf
# generated by aclocal
rm -f aclocal.m4
# generated by autoconf
rm -f configure
# generated or brought in by automake
rm -rf autom4te.cache
find m4/* -prune -not -iname 'ax_*' -not -iname 'Makefile.am'|xargs rm -f
find . -name Makefile|xargs rm -f
find . -name Makefile.in|xargs rm -f
rm -f install-sh
rm -f missing
rm -f config.*
rm -f stamp-h1
rm -f depcomp
rm -f ltmain.sh
rm -f libtool
cd ../..