summaryrefslogtreecommitdiff
path: root/bootstrap.sh
blob: 59e0007b8b5bc81434d7d9ae1399481be3d1f095 (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"

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