From 6664a23ac70e81fdc27d210914297cd62894e34e Mon Sep 17 00:00:00 2001 From: Michael Smith Date: Tue, 25 Apr 2006 06:31:24 +0000 Subject: [PATCH] Added man.output.manifest.enabled and man.output.manifest.filename params. If man.output.manifest.enabled is non-zero, a list of filenames for man pages generated by the stylesheet transformation is written to the file named by man.output.manifest.filename --- xsl/manpages/docbook.xsl | 21 +++++++++-------- xsl/manpages/other.xsl | 7 +++--- xsl/manpages/param.ent | 2 ++ xsl/manpages/param.xweb | 11 +++++++-- xsl/params/man.output.manifest.enabled.xml | 23 +++++++++++++++++++ xsl/params/man.output.manifest.filename.xml | 25 +++++++++++++++++++++ xsl/tools/make/Makefile.DocBook | 4 ++-- 7 files changed, 75 insertions(+), 18 deletions(-) create mode 100644 xsl/params/man.output.manifest.enabled.xml create mode 100644 xsl/params/man.output.manifest.filename.xml diff --git a/xsl/manpages/docbook.xsl b/xsl/manpages/docbook.xsl index 6f0f39206..8826c1326 100644 --- a/xsl/manpages/docbook.xsl +++ b/xsl/manpages/docbook.xsl @@ -37,8 +37,6 @@ - - MAN.MANIFEST @@ -78,23 +76,24 @@ - - + + + - + - + - - - - - + + + + + MAN.MANIFEST diff --git a/xsl/manpages/other.xsl b/xsl/manpages/other.xsl index 28d0d40a4..d2c22153e 100644 --- a/xsl/manpages/other.xsl +++ b/xsl/manpages/other.xsl @@ -431,7 +431,6 @@ db:manvolnum - MAN.MANIFEST @@ -456,7 +455,7 @@ db:manvolnum - + Note: @@ -465,7 +464,9 @@ db:manvolnum - + + + diff --git a/xsl/manpages/param.ent b/xsl/manpages/param.ent index cdf535c94..2f81b9ca7 100644 --- a/xsl/manpages/param.ent +++ b/xsl/manpages/param.ent @@ -35,6 +35,8 @@ + + diff --git a/xsl/manpages/param.xweb b/xsl/manpages/param.xweb index c8a9e7b28..982dd17bd 100644 --- a/xsl/manpages/param.xweb +++ b/xsl/manpages/param.xweb @@ -82,10 +82,15 @@ &man.th.extra2.max.length; &man.th.extra3.max.length; - - Other + + Output +&man.output.manifest.enabled; +&man.output.manifest.filename; &man.output.quietly; &man.output.encoding; + + + Other &man.subheading.divider.enabled; &man.subheading.divider; @@ -118,6 +123,8 @@ + + diff --git a/xsl/params/man.output.manifest.enabled.xml b/xsl/params/man.output.manifest.enabled.xml new file mode 100644 index 000000000..108804e1c --- /dev/null +++ b/xsl/params/man.output.manifest.enabled.xml @@ -0,0 +1,23 @@ + + + man.output.manifest.enabled + boolean + + + man.output.manifest.enabled + Generate a manifest file? + + + + + + + Description + + If non-zero, a list of filenames for man pages generated by + the stylesheet transformation is written to the file named by the + man.output.manifest.filename parameter. + + + diff --git a/xsl/params/man.output.manifest.filename.xml b/xsl/params/man.output.manifest.filename.xml new file mode 100644 index 000000000..30811578b --- /dev/null +++ b/xsl/params/man.output.manifest.filename.xml @@ -0,0 +1,25 @@ + + + man.output.manifest.filename + string + + + man.output.manifest.filename + Name of manifest file + + + + MAN.MANIFEST + + + Description + + The man.output.manifest.filename parameter + specifies the name of the file to which the manpages manifest file + is written (if the value of the + man.output.manifest.enabled parameter is + non-zero). + + + diff --git a/xsl/tools/make/Makefile.DocBook b/xsl/tools/make/Makefile.DocBook index a2fad75e2..49b43e30a 100644 --- a/xsl/tools/make/Makefile.DocBook +++ b/xsl/tools/make/Makefile.DocBook @@ -340,7 +340,7 @@ CHNK_CUSTOM := \ \ - \ + \ \ man/ \ \ @@ -480,7 +480,7 @@ endif else \ echo '$(MAN_CUSTOM)' \ | $(XSLT) $(XSLT_FLAGS) $(MAN_PARAMS) \ - --stringparam man.manifest.filename $@ \ + --stringparam man.output.manifest.filename $@ \ - $<; \ fi -- 2.40.0