From: Michael Smith Date: Thu, 28 Sep 2006 00:20:39 +0000 (+0000) Subject: Changed variable from MAKE_SYNOP to HTML2ROFF. Also, made changes X-Git-Tag: release/1.79.1~6^2~2491 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4bcb11ef21c4a3836722ddf351b77a5c0a0c7db0;p=docbook-dsssl Changed variable from MAKE_SYNOP to HTML2ROFF. Also, made changes for adding newline to end of Saxon-generated output. --- diff --git a/xsl/manpages/Makefile b/xsl/manpages/Makefile index cac245780..71c8d241d 100644 --- a/xsl/manpages/Makefile +++ b/xsl/manpages/Makefile @@ -20,14 +20,26 @@ param.xml: param.xweb $(PARAMS) ../../cvstools/paramchk -m Makefile.param $< $(XSLT) $< ../profiling/profile.xsl $(PARAMPROF) profile.condition=html $(XSLT) $(PARAMPROF) ../profiling/strip-attributes.xsl $(PARAMSTRIP) attributes=condition +ifeq ($(ADDNEWLINE),) $(XSLT) $(PARAMSTRIP) ../../litprog/w2docbook.xsl $@ +else + $(XSLT) $(PARAMSTRIP) ../../litprog/w2docbook.xsl $@.tmp + $(XSLT) $@.tmp $(ADDNEWLINE) $@ + $(RM) $@.tmp +endif $(RM) $(PARAMPROF) $(PARAMSTRIP) param.xsl: param.xweb $(PARAMS) ../../cvstools/paramchk -m Makefile.param $< $(XSLT) $< ../profiling/profile.xsl $(PARAMPROF) profile.condition=html $(XSLT) $(PARAMPROF) ../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) Makefile.param: @@ -35,7 +47,7 @@ Makefile.param: make html-synop.xsl: ../html/synop.xsl - $(XSLT) $< $(MAKE_SYNOP) $@ + $(XSLT) $< $(HTML2ROFF) $@ clean: $(RM) param.xml param.html param.xsl