From d25b64ef0bd41e97f7b8a614ac495f3ea1e4b22d Mon Sep 17 00:00:00 2001 From: Michael Smith Date: Thu, 19 Oct 2006 08:32:25 +0000 Subject: [PATCH] Removed cruft from makefile. --- website/xsl/Makefile | 22 +++++++--------------- website/xsl/param.xweb | 17 ++++++++++------- 2 files changed, 17 insertions(+), 22 deletions(-) diff --git a/website/xsl/Makefile b/website/xsl/Makefile index 399f5f1da..a89938154 100644 --- a/website/xsl/Makefile +++ b/website/xsl/Makefile @@ -2,32 +2,24 @@ include ../../cvstools/Makefile.incl PARAMPROF=.param.profiled PARAMSTRIP=.param.stripped -LREFENTRY=$(DOCBOOK_SVN)/xsl/tools/xsl/build/lrefentry.xsl all: param.xsl %.xsl: %.xml $(XSLT) $< $(TTLTEMPLATEXSL) $@ -xml: param.xml - -html: param.html - -param.html: param.xml - $(XSLT) $< $(LREFENTRY) $@ - -param.xml: param.xweb - $(XSLT) $< ../../xsl/profiling/profile.xsl $(PARAMPROF) profile.condition=html - $(XSLT) $(PARAMPROF) ../../xsl/profiling/strip-attributes.xsl $(PARAMSTRIP) attributes=condition - $(XSLT) $(PARAMSTRIP) ../../litprog/w2docbook.xsl $@ - $(RM) $(PARAMPROF) $(PARAMSTRIP) - param.xsl: param.xweb $(XSLT) $< ../../xsl/profiling/profile.xsl $(PARAMPROF) profile.condition=html $(XSLT) $(PARAMPROF) ../../xsl/profiling/strip-attributes.xsl $(PARAMSTRIP) attributes=condition +ifeq ($(ADDNEWLINE),) $(XSLT) $(PARAMSTRIP) ../../litprog/xtangle.xsl $@ +else + $(XSLT) $(PARAMSTRIP) ../../litprog/xtangle.xsl $@.tmp + $(XSLT) $@.tmp $(ADDNEWLINE) $@ + $(RM) $@.tmp +endif $(RM) $(PARAMPROF) $(PARAMSTRIP) clean: - rm -f param.xsl param.xml param.html + $(RM) param.xsl diff --git a/website/xsl/param.xweb b/website/xsl/param.xweb index 55d664a8b..a97e36a5b 100644 --- a/website/xsl/param.xweb +++ b/website/xsl/param.xweb @@ -13,15 +13,18 @@ $Id$ 2002-2005 Norman Walsh + + This is reference documentation for all user-configurable + parameters in the DocBook XSL Website stylesheet (for generating + websites from DocBook XML sources). Note that the Website stylesheet + is a customization layer of the DocBook XSL HTML stylesheet. + Therefore, in addition to the Website-specific parameters listed in + this section, you can also use a number of HTML stylesheet parameters to control Website output. + -Introduction - -This is reference documentation for all user-configurable -parameters in the DocBook XSL Website stylesheets (for generating -output from DocBook Website documents). - - Parameters -- 2.40.0