From ede4f142db2bf0cc87b519a89d4fd7e1d8d7c888 Mon Sep 17 00:00:00 2001 From: Michael Smith Date: Tue, 26 Apr 2005 13:51:09 +0000 Subject: [PATCH] switch to DIRS var / base target setup --- slides/xsl/Makefile | 22 +++++++++++++++------- 1 file changed, 15 insertions(+), 7 deletions(-) diff --git a/slides/xsl/Makefile b/slides/xsl/Makefile index 3f4e38ce3..92c97231d 100644 --- a/slides/xsl/Makefile +++ b/slides/xsl/Makefile @@ -2,13 +2,21 @@ include ../../cvstools/Makefile.incl .PHONY: fo xhtml html -all: fo xhtml +DIRS = fo xhtml html -fo: - $(MAKE) -C fo +all: base -xhtml: html - $(MAKE) -C xhtml +base: + for i in $(DIRS) __bogus__; do \ + if [ $$i != __bogus__ ] ; then \ + echo "$(MAKE) -C $$i"; $(MAKE) -C $$i; \ + fi \ + done + +clean: + for i in $(DIRS) __bogus__; do \ + if [ $$i != __bogus__ ] ; then \ + echo "$(MAKE) -C $$i clean"; $(MAKE) -C $$i clean; \ + fi \ + done -html: - $(MAKE) -C html -- 2.40.0