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