From 4df9628d12c61845db2a2fe616d33b11abc90cc0 Mon Sep 17 00:00:00 2001 From: Norman Walsh Date: Mon, 16 Sep 2002 13:21:58 +0000 Subject: [PATCH] Make filename-prefix a separate make parameter --- website/example/Makefile | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/website/example/Makefile b/website/example/Makefile index a1c937c90..0f0e86d92 100644 --- a/website/example/Makefile +++ b/website/example/Makefile @@ -17,12 +17,12 @@ all: ifeq ($(TEXTONLY),0) STYLESHEET=$(TABSTYLE) STYLECHUNK=$(TABCHUNK) -STYLEOPT= +TEXTOPT= include .tabular else STYLESHEET=$(WEBSTYLE) STYLECHUNK=$(WEBCHUNK) -STYLEOPT=filename-prefix=txt +TEXTOPT=filename-prefix=txt include .textonly endif @@ -36,11 +36,16 @@ chunk: autolayout.xml %.html: autolayout.xml xjparse $(filter-out autolayout.xml,$^) - $(PROC) $(PROCOPT) $(filter-out autolayout.xml,$^) $(STYLESHEET) $@ $(STYLEOPT) + $(PROC) $(PROCOPT) $(filter-out autolayout.xml,$^) $(STYLESHEET) $@ $(TEXTOPT) $(STYLEOPT) ifeq ($(USETIDY),1) -tidy -iq -latin1 -mn $@ endif +# RDDL gets its own rule because we never want to call tidy on it +rddl.html: autolayout.xml + xjparse $(filter-out autolayout.xml,$^) + $(PROC) $(PROCOPT) $(filter-out autolayout.xml,$^) $(STYLESHEET) $@ $(TEXTOPT) $(STYLEOPT) + depends: autolayout.xml xjparse $< $(PROC) $(PROCOPT) $< ../xsl/makefile-dep.xsl .tabular -- 2.40.0