From: Norman Walsh Date: Mon, 16 Sep 2002 13:21:58 +0000 (+0000) Subject: Make filename-prefix a separate make parameter X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=653327cd160cef13ccbf69e847b6bbfd97c06f7d;p=docbook-dsssl Make filename-prefix a separate make parameter --- 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