diff options
Diffstat (limited to 'bootstrap.sh')
-rwxr-xr-x | bootstrap.sh | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/bootstrap.sh b/bootstrap.sh new file mode 100755 index 000000000..fe07addfd --- /dev/null +++ b/bootstrap.sh @@ -0,0 +1,51 @@ +#!/bin/sh + +subdirs="compiler lib/cpp lib/php" + +rm -rf \ +AUTHORS \ +COPYING \ +ChangeLog \ +INSTALL \ +Makefile.am \ +Makefile \ +Makefile.in \ +Makefile.orig \ +NEWS \ +README \ +aclocal.m4 \ +autom4te.cache \ +autoscan.log \ +config.guess \ +config.h \ +config.hin \ +config.log \ +config.status \ +config.sub \ +configure \ +configure.scan \ +depcomp \ +.deps \ +install-sh \ +.libs \ +libtool \ +ltmain.sh \ +Makefile.in \ +missing + +echo "SUBDIRS = ${subdirs}" > Makefile.am + +aclocal +touch NEWS README AUTHORS ChangeLog +autoconf +automake -ac + +for subdir in ${subdirs}; do + if [ -x "${subdir}/bootstrap.sh" ]; then + cwd="`pwd`" + cd ${subdir} + ./bootstrap.sh + cd ${cwd} + fi +done + |