[newlib-cygwin] winsup/doc: Use fo.xsl to customize PDF generation from DocBook XML

Jon TURNEY jturney@sourceware.org
Tue Jun 16 09:29:00 GMT 2015


https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=c46fe19460b7600e9404210338e8a159060129e4

commit c46fe19460b7600e9404210338e8a159060129e4
Author: Jon TURNEY <jon.turney@dronecode.org.uk>
Date:   Fri Jun 12 16:07:21 2015 +0100

    winsup/doc: Use fo.xsl to customize PDF generation from DocBook XML
    
    fo.xsl doesn't seem to be used since c2f50c40 switched back from xsltproc to
    xmlto
    
    2015-06-12  Jon Turney  <jon.turney@dronecode.org.uk>
    
    	* Makefile.in (cygwin-ug-net/cygwin-ug-net.pdf)
    	(cygwin-api/cygwin-api.pdf): Use fo.xsl to customized DocBook
    	XML->PDF conversion.
    
    Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>

Diff:
---
 winsup/doc/ChangeLog   | 6 ++++++
 winsup/doc/Makefile.in | 4 ++--
 2 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/winsup/doc/ChangeLog b/winsup/doc/ChangeLog
index cae43a5..c364b8d 100644
--- a/winsup/doc/ChangeLog
+++ b/winsup/doc/ChangeLog
@@ -1,5 +1,11 @@
 2015-06-12  Jon Turney  <jon.turney@dronecode.org.uk>
 
+	* Makefile.in (cygwin-ug-net/cygwin-ug-net.pdf)
+	(cygwin-api/cygwin-api.pdf): Use fo.xsl to customized DocBook
+	XML->PDF conversion.
+
+2015-06-12  Jon Turney  <jon.turney@dronecode.org.uk>
+
 	* cygwin-ug-net.xml: Remove incorrect unused date.
 	* utils.xml : Remove .exe suffix inconsistently added in a few
 	places.  Tidy up some trailing whitespace.
diff --git a/winsup/doc/Makefile.in b/winsup/doc/Makefile.in
index a97545c..2d71728 100644
--- a/winsup/doc/Makefile.in
+++ b/winsup/doc/Makefile.in
@@ -80,13 +80,13 @@ cygwin-ug-net/cygwin-ug-net.html : cygwin-ug-net.xml cygwin.xsl
 	-$(XMLTO) html -o cygwin-ug-net/ -m $(srcdir)/cygwin.xsl $<
 
 cygwin-ug-net/cygwin-ug-net.pdf : cygwin-ug-net.xml fo.xsl
-	-$(XMLTO) pdf -o cygwin-ug-net/ $<
+	-$(XMLTO) pdf -o cygwin-ug-net/ -m $(srcdir)/fo.xsl $<
 
 cygwin-api/cygwin-api.html : cygwin-api.xml cygwin.xsl
 	-$(XMLTO) html -o cygwin-api/ -m $(srcdir)/cygwin.xsl $<
 
 cygwin-api/cygwin-api.pdf : cygwin-api.xml fo.xsl
-	-$(XMLTO) pdf -o cygwin-api/ $<
+	-$(XMLTO) pdf -o cygwin-api/ -m $(srcdir)/fo.xsl $<
 
 faq/faq.html : $(FAQ_SOURCES)
 	-$(XMLTO) html -o faq -m $(srcdir)/cygwin.xsl $(srcdir)/faq.xml



More information about the Cygwin-cvs mailing list