annotate misc/superconfigure @ 573:0b094b0fdcc4

Clean up more tidily on exit
author Chris Cannam
date Thu, 16 May 2013 14:05:21 +0100
parents ba928954e640
children
rev   line source
Chris@402 1 #!/bin/sh
Chris@402 2 subdirs="svcore svgui svapp sonic-visualiser"
Chris@402 3 echo
Chris@402 4 echo " *** Preparing to configure in: $subdirs"
Chris@402 5 echo
Chris@402 6 for dir in $subdirs; do
Chris@402 7 echo " *** Configuring in: $dir"
Chris@402 8 echo
Chris@402 9 ( cd "$dir" && ./configure "$@" ) || exit 1
Chris@402 10 echo
Chris@402 11 done
Chris@402 12 cat > Makefile <<EOF
Chris@402 13 TARGETS = sub-svcore sub-svgui sub-svapp sub-sonic-visualiser
Chris@403 14 all: \$(TARGETS)
Chris@402 15 sub-svcore:
Chris@402 16 \$(MAKE) --directory=svcore
Chris@402 17 sub-svgui:
Chris@402 18 \$(MAKE) --directory=svgui
Chris@402 19 sub-svapp:
Chris@402 20 \$(MAKE) --directory=svapp
Chris@402 21 sub-sonic-visualiser:
Chris@402 22 \$(MAKE) --directory=sonic-visualiser
Chris@402 23 EOF
Chris@402 24 echo " *** Generated Makefile"