From: Chris Hanson Date: Fri, 8 Dec 2000 18:24:09 +0000 (+0000) Subject: Use autoconf for top-level Makefile. X-Git-Tag: 20090517-FFI~3085 X-Git-Url: https://birchwood-abbey.net/git?a=commitdiff_plain;h=8e0a3a2cc79202ccd24966f361601e922d6f0bc3;p=mit-scheme.git Use autoconf for top-level Makefile. --- diff --git a/v7/src/Clean.sh b/v7/src/Clean.sh index 8f7085d28..2bcd3a95c 100755 --- a/v7/src/Clean.sh +++ b/v7/src/Clean.sh @@ -1,6 +1,6 @@ #!/bin/sh # -# $Id: Clean.sh,v 1.3 2000/12/08 18:15:46 cph Exp $ +# $Id: Clean.sh,v 1.4 2000/12/08 18:20:24 cph Exp $ # # Copyright (c) 2000 Massachusetts Institute of Technology # @@ -29,16 +29,23 @@ fi COMMAND=$1 shift +FULL=no +DIST=no +MAINTAINER=no case "${COMMAND}" in mostlyclean) ;; -clean | distclean) - echo "rm -f lib/*.com" - rm -f lib/*.com +clean) + FULL=yes + ;; +distclean) + FULL=yes + DIST=yes ;; maintainer-clean) - echo "rm -rf lib" - rm -rf lib + FULL=yes + DIST=yes + MAINTAINER=yes ;; *) echo "$0: Unknown command ${COMMAND}" @@ -46,12 +53,20 @@ maintainer-clean) ;; esac -case "${COMMAND}" in -distclean | maintainer-clean) +if [ ${FULL} = yes ]; then + echo "rm -f lib/*.com" + rm -f lib/*.com +fi + +if [ ${DIST} = yes ]; then echo "rm -f Makefile config.cache config.log config.status" rm -f Makefile config.cache config.log config.status - ;; -esac +fi + +if [ ${MAINTAINER} = yes ]; then + echo "rm -rf configure lib" + rm -rf configure lib +fi for SUBDIR; do if test -x ${SUBDIR}/Clean.sh; then diff --git a/v7/src/Setup.sh b/v7/src/Setup.sh index 0a770b9c9..5d62975aa 100755 --- a/v7/src/Setup.sh +++ b/v7/src/Setup.sh @@ -1,6 +1,6 @@ #!/bin/sh # -# $Id: Setup.sh,v 1.5 2000/12/08 18:04:12 cph Exp $ +# $Id: Setup.sh,v 1.6 2000/12/08 18:24:09 cph Exp $ # # Copyright (c) 2000 Massachusetts Institute of Technology # @@ -38,7 +38,8 @@ maybe_link lib/utabmd.bin ../microcode/utabmd.bin # lib/edwin maybe_mkdir lib/edwin maybe_mkdir lib/edwin/etc -maybe_mkdir lib/edwin/info +maybe_link lib/edwin/etc/TUTORIAL ../../../etc/TUTORIAL +maybe_link lib/edwin/etc/mime.types ../../../etc/mime.types maybe_link lib/edwin/autoload ../../edwin SUBDIRS=""