summaryrefslogtreecommitdiff
path: root/bootstrap.sh
blob: d2e240a2181809d0dbd8ae3bae60fc2d151ea29e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/bin/sh

subdirs="compiler/cpp lib/cpp lib/py if"

./cleanup.sh
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