[project @ 2005-02-26 11:03:13 by panne]
authorpanne <unknown>
Sat, 26 Feb 2005 11:03:13 +0000 (11:03 +0000)
committerpanne <unknown>
Sat, 26 Feb 2005 11:03:13 +0000 (11:03 +0000)
Don't use draft mode when generating FO, otherwise fop might try
download a watermark when generating PDF/PS. Fixed a comment typo on
the way.

mk/suffix.mk

index a1dc1cd..ad238ed 100644 (file)
@@ -279,7 +279,7 @@ endif
 
 # TODO: Detect hhc via autoconf
 #
-# Two obstables here:
+# Two obstacles here:
 #
 # * The reason for the strange "if" below is that hhc returns 0 on error and 1
 #   on success, the opposite of what shells and make expect.
@@ -292,6 +292,7 @@ endif
 
 %.fo : %.xml
        $(XSLTPROC) --output $@ \
+                   --stringparam draft.mode no \
                    $(XSLTPROC_LABEL_OPTS) $(XSLTPROC_OPTS) \
                    $(DIR_DOCBOOK_XSL)/fo/docbook.xsl $<