Marc Slemko | b09f588 | 2006-08-23 22:03:34 +0000 | [diff] [blame] | 1 | #!/bin/sh |
2 | |||||
Mark Slee | 5d06fea | 2007-03-05 22:18:18 +0000 | [diff] [blame] | 3 | subdirs="compiler/cpp lib/cpp lib/py" |
Marc Slemko | b09f588 | 2006-08-23 22:03:34 +0000 | [diff] [blame] | 4 | |
Mark Slee | eb0d024 | 2007-01-25 07:58:55 +0000 | [diff] [blame] | 5 | ./cleanup.sh |
Marc Slemko | b09f588 | 2006-08-23 22:03:34 +0000 | [diff] [blame] | 6 | echo "SUBDIRS = ${subdirs}" > Makefile.am |
7 | |||||
8 | aclocal | ||||
9 | touch NEWS README AUTHORS ChangeLog | ||||
10 | autoconf | ||||
11 | automake -ac | ||||
12 | |||||
13 | for subdir in ${subdirs}; do | ||||
14 | if [ -x "${subdir}/bootstrap.sh" ]; then | ||||
15 | cwd="`pwd`" | ||||
Mark Slee | 4c91e55 | 2007-03-08 01:22:46 +0000 | [diff] [blame] | 16 | cd "${subdir}" |
Marc Slemko | b09f588 | 2006-08-23 22:03:34 +0000 | [diff] [blame] | 17 | ./bootstrap.sh |
Mark Slee | 4c91e55 | 2007-03-08 01:22:46 +0000 | [diff] [blame] | 18 | cd "${cwd}" |
Marc Slemko | b09f588 | 2006-08-23 22:03:34 +0000 | [diff] [blame] | 19 | fi |
20 | done | ||||
21 |