[svnbook] r6041 committed - trunk
danielsahlberg at users.sourceforge.net
danielsahlberg at users.sourceforge.net
Wed Sep 1 09:43:54 UTC 2021
Revision: 6041
http://sourceforge.net/p/svnbook/source/6041
Author: danielsahlberg
Date: 2021-09-01 09:43:53 +0000 (Wed, 01 Sep 2021)
Log Message:
-----------
The changes in r5129 override any customization to FO_XSLTPROC_OPTS in
Makefile.base-vars. Since the different language branches seems to add
customizations in the main Makefile, move everything there.
* en/Makefile: Add HTML_XSLTPROC_OPTS and FO_XSLTPROC_OPTS and comments
* en/README: Add a note on how to build the pdf with custom options
* tools/Makefile.base-vars: Remove HTML_XSLTPROC_OPTS and FO_XSLTPROC_OPTS
Modified Paths:
--------------
trunk/en/Makefile
trunk/en/README
trunk/tools/Makefile.base-vars
Modified: trunk/en/Makefile
===================================================================
--- trunk/en/Makefile 2021-08-25 18:43:21 UTC (rev 6040)
+++ trunk/en/Makefile 2021-09-01 09:43:53 UTC (rev 6041)
@@ -1,3 +1,14 @@
include ../tools/Makefile.base
-FO_XSLTPROC_OPTS = --param fop1.extensions 1
+
+# Customization hooks for xsltproc options
+
+# Customization for the html target
+HTML_XSLTPROC_OPTS =
+
+# Customization for the pdf target
+# Examples
+# Custom page size: --stringparam page.height 9in --stringparam page.width 6.4in
+# Paper type A4: --stringparam paper.type A4
+FO_XSLTPROC_OPTS =
+
L10N_REVISION = r
Modified: trunk/en/README
===================================================================
--- trunk/en/README 2021-08-25 18:43:21 UTC (rev 6040)
+++ trunk/en/README 2021-09-01 09:43:53 UTC (rev 6041)
@@ -132,6 +132,9 @@
Poof! You now have PNG support.
+ * If you want to customize the output, for example change the paper
+ type, check the FO_XSLTPROC_OPTS variable in en/Makefile.
+
* From this directory (en, or another language directory), do
$ make all-pdf
Modified: trunk/tools/Makefile.base-vars
===================================================================
--- trunk/tools/Makefile.base-vars 2021-08-25 18:43:21 UTC (rev 6040)
+++ trunk/tools/Makefile.base-vars 2021-09-01 09:43:53 UTC (rev 6041)
@@ -67,14 +67,6 @@
IFIMAGES = if test -n "$(IMAGES)"; then
ENDIF = ; fi
-# Customization hooks for xsltproc options
-HTML_XSLTPROC_OPTS =
-FO_XSLTPROC_OPTS =
-# FO example: --stringparam page.height 9in --stringparam page.width 6.4in
-
-# Uncomment the following line if you'd like to print on A4 paper
-# FO_XSLTPROC_OPTS = --stringparam paper.type A4
-
# Override in locale-specific Makefile to localize the word in the
# auto-generated version file.
L10N_REVISION = Revision
More information about the svnbook-dev
mailing list