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