2 # Make doesn't handle subdirs very well
3 # without providing a Makefile in each one.
4 # So we will just manually find any source
5 # directories which contain any files that
6 # are newer than are .tgz file and rebuild
9 SUBDIRS=`ls -d [a-z]*/ | tr -d /`
12 if [[ ! -f $TGZ ]]; then
13 echo "Building: " $TGZ
16 TOUCHED=`find $a -cnewer $TGZ`
17 if [[ -n $TOUCHED ]]; then
18 echo "Building: " $TGZ