blob: fe07addfd71ab89e3d12cb6aa3bdb6f005f7940a [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 \
15README \
16aclocal.m4 \
17autom4te.cache \
18autoscan.log \
19config.guess \
20config.h \
21config.hin \
22config.log \
23config.status \
24config.sub \
25configure \
26configure.scan \
27depcomp \
28.deps \
29install-sh \
30.libs \
31libtool \
32ltmain.sh \
33Makefile.in \
34missing
35
36echo "SUBDIRS = ${subdirs}" > Makefile.am
37
38aclocal
39touch NEWS README AUTHORS ChangeLog
40autoconf
41automake -ac
42
43for 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
50done
51