#
#ident "@(#)smail/conf:RELEASE-3_2_0_121:Makefile,v 1.17 2004/07/25 17:22:00 woods Exp"
#
# Makefile for the conf directory in the smail source tree
#
# Copyright (C) 1987, 1988 Ronald S. Karr and Landon Curt Noll
# Copyright (C) 1992 Ronald S. Karr
#
# See the file COPYING, distributed with smail, for restriction
# and warranty information.
ROOT=..
THIS_DIR=conf
include ${ROOT}/conf/Make.local
SUB_DIRS=arch driver os lib
all mkdefs defs depend clobber clean: ${DOT_MAKE}
@for i in ${SUB_DIRS}; do \
echo "Making $@ under ${THIS_DIR}/$$i ..."; \
(cd $$i && ${MAKE} $@); \
rc=$$?; \
if [ $$rc -ne 0 ] ; then \
exit $$rc; \
fi; \
done
# there's nothing to install under here
install:
# WARNING: don't depend on EDITME-dist, else local changes may be clobbered.
# If we did depend on EDITME-dist, we could add the else clause:
#
# else \
# echo "Please update $@ with new changes from $@-dist!" ; \
# exit 1 ; \
#
# Note that we are paranoid and do not attempt to make it if it
# exists, even though this rule could only trigger if it doesn't
# exist.
#
.PRECIOUS: EDITME
EDITME:
@if [ ! -f $@ ] ; then \
cat $@-dist > $@ ; \
echo "NOTICE: You may need to localise $@ for your environment!" ; \
fi
.PHONY: all install local-install clean local-clean clobber local-clobber depend local-depend lint mkdefs defs check_defs tags TAGS
syntax highlighted by Code2HTML, v. 0.9.1