[Scummvm-cvs-logs] SF.net SVN: scummvm: [25021] docs/trunk/docbook
fingolfin at users.sourceforge.net
fingolfin at users.sourceforge.net
Sat Jan 6 03:02:34 CET 2007
Revision: 25021
http://scummvm.svn.sourceforge.net/scummvm/?rev=25021&view=rev
Author: fingolfin
Date: 2007-01-05 18:02:34 -0800 (Fri, 05 Jan 2007)
Log Message:
-----------
Renamed Makefile.xsltproc to Makefile.fop; added a trivial Makefile which simply includes Makefile.dblatex by default
Added Paths:
-----------
docs/trunk/docbook/Makefile.fop
Removed Paths:
-------------
docs/trunk/docbook/Makefile.xsltproc
Copied: docs/trunk/docbook/Makefile.fop (from rev 25019, docs/trunk/docbook/Makefile.xsltproc)
===================================================================
--- docs/trunk/docbook/Makefile.fop (rev 0)
+++ docs/trunk/docbook/Makefile.fop 2007-01-06 02:02:34 UTC (rev 25021)
@@ -0,0 +1,52 @@
+include Makefile.common
+
+#
+# Try various potential locations for the stylesheets, picking the
+# first one we find.
+#
+XSL_CANDIDATES = \
+ $(strip $(foreach TMP_XSL, \
+ /sw/share/xml/xsl/docbook-xsl \
+ /usr/share/sgml/docbook/stylesheet/xsl/nwalsh \
+ ./docbook-xsl, \
+ $(shell test -d $(TMP_XSL) && echo $(TMP_XSL))))
+DOCBOOK_XSL := $(firstword $(XSL_CANDIDATES))
+
+
+#
+# These rules use docbook-xsl and xsltproc (from libxslt)
+# as well as fop to create HTML, XHTML and PDF output.
+#
+
+XSL_PARAM = --catalogs --stringparam draft.mode no --stringparam paper.type A4
+
+%.html: %.xml
+ SGML_CATALOG_FILES=$(SGML_CATALOG_FILES) \
+ xsltproc $(XSL_PARAM) --output $@ $(DOCBOOK_XSL)/html/docbook.xsl $<
+
+%.xhtml: %.xml
+ SGML_CATALOG_FILES=$(SGML_CATALOG_FILES) \
+ xsltproc $(XSL_PARAM) --output $@ $(DOCBOOK_XSL)/xhtml/docbook.xsl $<
+
+%.fo: %.xml
+ SGML_CATALOG_FILES=$(SGML_CATALOG_FILES) \
+ xsltproc $(XSL_PARAM) --output $@ $(DOCBOOK_XSL)/fo/docbook.xsl $<
+
+%.pdf: %.fo
+ fop $< -pdf $@
+
+%.txt: %.fo
+ fop $< -txt $@
+
+#
+# Some more notes: Of course we can also use a tool like htmldoc to convert
+# HTML to PDF (though the quality is IMO not as good as that of the two ways
+# above).
+# Also, there is room for experiments when it comes to the plain text generation.
+#
+
+
+# Special rule for faq.inc:
+# Only keep everything contained inside the top-most <div> inside the <body>
+faq.inc: faq.html
+ xsltproc --html --output $@ faq-inc.xsl $<
Deleted: docs/trunk/docbook/Makefile.xsltproc
===================================================================
--- docs/trunk/docbook/Makefile.xsltproc 2007-01-06 02:00:41 UTC (rev 25020)
+++ docs/trunk/docbook/Makefile.xsltproc 2007-01-06 02:02:34 UTC (rev 25021)
@@ -1,52 +0,0 @@
-include Makefile.common
-
-#
-# Try various potential locations for the stylesheets, picking the
-# first one we find.
-#
-XSL_CANDIDATES = \
- $(strip $(foreach TMP_XSL, \
- /sw/share/xml/xsl/docbook-xsl \
- /usr/share/sgml/docbook/stylesheet/xsl/nwalsh \
- ./docbook-xsl, \
- $(shell test -d $(TMP_XSL) && echo $(TMP_XSL))))
-DOCBOOK_XSL := $(firstword $(XSL_CANDIDATES))
-
-
-#
-# These rules use docbook-xsl and xsltproc (from libxslt)
-# as well as fop to create HTML, XHTML and PDF output.
-#
-
-XSL_PARAM = --catalogs --stringparam draft.mode no --stringparam paper.type A4
-
-%.html: %.xml
- SGML_CATALOG_FILES=$(SGML_CATALOG_FILES) \
- xsltproc $(XSL_PARAM) --output $@ $(DOCBOOK_XSL)/html/docbook.xsl $<
-
-%.xhtml: %.xml
- SGML_CATALOG_FILES=$(SGML_CATALOG_FILES) \
- xsltproc $(XSL_PARAM) --output $@ $(DOCBOOK_XSL)/xhtml/docbook.xsl $<
-
-%.fo: %.xml
- SGML_CATALOG_FILES=$(SGML_CATALOG_FILES) \
- xsltproc $(XSL_PARAM) --output $@ $(DOCBOOK_XSL)/fo/docbook.xsl $<
-
-%.pdf: %.fo
- fop $< -pdf $@
-
-%.txt: %.fo
- fop $< -txt $@
-
-#
-# Some more notes: Of course we can also use a tool like htmldoc to convert
-# HTML to PDF (though the quality is IMO not as good as that of the two ways
-# above).
-# Also, there is room for experiments when it comes to the plain text generation.
-#
-
-
-# Special rule for faq.inc:
-# Only keep everything contained inside the top-most <div> inside the <body>
-faq.inc: faq.html
- xsltproc --html --output $@ faq-inc.xsl $<
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list