blob: e994cc17721311f4200c5a0507b970bf079e2d0e [file] [log] [blame]
Marc Slemkob09f5882006-08-23 22:03:34 +00001#!/bin/sh
2
Mark Sleec29613f2006-09-01 22:20:32 +00003subdirs="compiler/py lib/cpp lib/php"
Marc Slemkob09f5882006-08-23 22:03:34 +00004
5rm -rf \
6AUTHORS \
7COPYING \
8ChangeLog \
9INSTALL \
10Makefile.am \
11Makefile \
12Makefile.in \
13Makefile.orig \
14NEWS \
Marc Slemkob09f5882006-08-23 22:03:34 +000015aclocal.m4 \
16autom4te.cache \
17autoscan.log \
18config.guess \
19config.h \
20config.hin \
21config.log \
22config.status \
23config.sub \
24configure \
25configure.scan \
26depcomp \
27.deps \
28install-sh \
29.libs \
30libtool \
31ltmain.sh \
Marc Slemkob09f5882006-08-23 22:03:34 +000032missing
33
34echo "SUBDIRS = ${subdirs}" > Makefile.am
35
36aclocal
37touch NEWS README AUTHORS ChangeLog
38autoconf
39automake -ac
40
41for 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
48done
49