Marc Slemko | b09f588 | 2006-08-23 22:03:34 +0000 | [diff] [blame^] | 1 | #!/bin/sh |
2 | |||||
3 | subdirs="compiler lib/cpp lib/php" | ||||
4 | |||||
5 | rm -rf \ | ||||
6 | AUTHORS \ | ||||
7 | COPYING \ | ||||
8 | ChangeLog \ | ||||
9 | INSTALL \ | ||||
10 | Makefile.am \ | ||||
11 | Makefile \ | ||||
12 | Makefile.in \ | ||||
13 | Makefile.orig \ | ||||
14 | NEWS \ | ||||
15 | README \ | ||||
16 | aclocal.m4 \ | ||||
17 | autom4te.cache \ | ||||
18 | autoscan.log \ | ||||
19 | config.guess \ | ||||
20 | config.h \ | ||||
21 | config.hin \ | ||||
22 | config.log \ | ||||
23 | config.status \ | ||||
24 | config.sub \ | ||||
25 | configure \ | ||||
26 | configure.scan \ | ||||
27 | depcomp \ | ||||
28 | .deps \ | ||||
29 | install-sh \ | ||||
30 | .libs \ | ||||
31 | libtool \ | ||||
32 | ltmain.sh \ | ||||
33 | Makefile.in \ | ||||
34 | missing | ||||
35 | |||||
36 | echo "SUBDIRS = ${subdirs}" > Makefile.am | ||||
37 | |||||
38 | aclocal | ||||
39 | touch NEWS README AUTHORS ChangeLog | ||||
40 | autoconf | ||||
41 | automake -ac | ||||
42 | |||||
43 | for subdir in ${subdirs}; do | ||||
44 | if [ -x "${subdir}/bootstrap.sh" ]; then | ||||
45 | cwd="`pwd`" | ||||
46 | cd ${subdir} | ||||
47 | ./bootstrap.sh | ||||
48 | cd ${cwd} | ||||
49 | fi | ||||
50 | done | ||||
51 |