From 4bcb11ef21c4a3836722ddf351b77a5c0a0c7db0 Mon Sep 17 00:00:00 2001 From: Michael Smith Date: Thu, 28 Sep 2006 00:20:39 +0000 Subject: [PATCH] Changed variable from MAKE_SYNOP to HTML2ROFF. Also, made changes for adding newline to end of Saxon-generated output. --- xsl/manpages/Makefile | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) 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 -- 2.50.1