-# $Id: Makefile,v 1.11 2000/12/07 22:00:20 cph Exp $
+# $Id: Makefile,v 1.12 2000/12/07 22:20:57 cph Exp $
#
# Copyright (c) 2000 Massachusetts Institute of Technology
#
setup:
@for SUBDIR in $(SCHEME_SUBDIRS); do \
echo "making $@ in $${SUBDIR}"; \
- test -f $${SUBDIR}/Makefile \
+ test -e $${SUBDIR}/Makefile \
|| ln -s ../Makefile.std $${SUBDIR}/Makefile; \
( cd $${SUBDIR} && $(MAKE) $@ ) || exit 1; \
done
mostlyclean clean distclean:
@for SUBDIR in $(SUBDIRS); do \
- if test -f $${SUBDIR}/Makefile; then \
+ if test -e $${SUBDIR}/Makefile; then \
echo "making $@ in $${SUBDIR}"; \
( cd $${SUBDIR} && $(MAKE) $@ ); \
fi; \
maintainer-clean:
@for SUBDIR in $(SCHEME_SUBDIRS); do \
- if test -f $${SUBDIR}/Makefile; then \
+ if test -e $${SUBDIR}/Makefile; then \
echo "making $@ in $${SUBDIR}"; \
( cd $${SUBDIR} && $(MAKE) $@ ); \
fi; \
-# $Id: Makefile.std,v 1.7 2000/12/05 23:04:13 cph Exp $
+# $Id: Makefile.std,v 1.8 2000/12/07 22:20:38 cph Exp $
#
# Copyright (c) 2000 Massachusetts Institute of Technology
#
echo "No ALL action"
setup:
- test ! -f ed-ffi.scm \
- || test -f .edwin-ffi \
+ test ! -e ed-ffi.scm \
+ || test -e .edwin-ffi \
|| ln -s ed-ffi.scm .edwin-ffi
tags TAGS:
#!/bin/sh
#
-# $Id: create-dirs.sh,v 1.2 2000/12/07 22:12:55 cph Exp $
+# $Id: create-dirs.sh,v 1.3 2000/12/07 22:19:28 cph Exp $
#
# Copyright (c) 2000 Massachusetts Institute of Technology
#
maybe_mkdir ()
{
- if test ! -d ${1}; then
+ if test ! -e ${1}; then
echo "mkdir ${1}"
mkdir ${1}
fi
maybe_link ()
{
- if test ! -f ${1}; then
+ if test ! -e ${1}; then
echo "ln -s ${2} ${1}"
ln -s ${2} ${1}
fi