blob: 17f0e87ccb71c2a9b7b68b813913626e04331ced [file] [log] [blame]
Marc Slemkob09f5882006-08-23 22:03:34 +00001#!/bin/sh
2
3subdirs="compiler lib/cpp lib/php"
4
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 \
32Makefile.in \
33missing
34
35echo "SUBDIRS = ${subdirs}" > Makefile.am
36
37aclocal
38touch NEWS README AUTHORS ChangeLog
39autoconf
40automake -ac
41
42for subdir in ${subdirs}; do
43 if [ -x "${subdir}/bootstrap.sh" ]; then
44 cwd="`pwd`"
45 cd ${subdir}
46 ./bootstrap.sh
47 cd ${cwd}
48 fi
49done
50