makefox.sh 528 B

123456789101112131415161718
  1. #! /bin/sh
  2. # I want this script to be one I can launch from anywhere, but at least
  3. # some of its sub-scripts will not be so generous. So find out where it
  4. # lives so that other locations can be found relative to that.
  5. here="$0";while test -L "$here";do here=`ls -ld "$here" | sed 's/.*-> //'`;done
  6. here=`dirname "$here"`
  7. here=`cd "$here"; pwd -P`
  8. echo `dirname "$here"`
  9. for x in $here/cslbuild/*/fox
  10. do
  11. echo "Rebuild in $x"
  12. cd $x
  13. ./config.status --recheck
  14. ./config.status
  15. make `$here/scripts/joption.sh` install
  16. done