Skip to content

Commit d49cc58

Browse files
committed
doc: Don't reformat .fo files before processing by fop
This messes up the whitespace in the output PDF document in some places.
1 parent 6feb69f commit d49cc58

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

doc/src/sgml/Makefile

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -270,20 +270,16 @@ htmlhelp: stylesheet-hh.xsl postgres.xml
270270
$(XMLLINT) --noout --valid postgres.xml
271271
$(XSLTPROC) $(XSLTPROCFLAGS) $^
272272

273-
%-A4.fo.tmp: stylesheet-fo.xsl %.xml
273+
%-A4.fo: stylesheet-fo.xsl %.xml
274274
$(XMLLINT) --noout --valid $*.xml
275275
$(XSLTPROC) $(XSLTPROCFLAGS) --stringparam paper.type A4 -o $@ $^
276276

277-
%-US.fo.tmp: stylesheet-fo.xsl %.xml
277+
%-US.fo: stylesheet-fo.xsl %.xml
278278
$(XMLLINT) --noout --valid $*.xml
279279
$(XSLTPROC) $(XSLTPROCFLAGS) --stringparam paper.type USletter -o $@ $^
280280

281281
FOP = fop
282282

283-
# reformat FO output so that locations of errors are easier to find
284-
%.fo: %.fo.tmp
285-
$(XMLLINT) --format --output $@ $^
286-
287283
.SECONDARY: postgres-A4.fo postgres-US.fo
288284

289285
%-fop.pdf: %.fo
@@ -404,7 +400,7 @@ clean:
404400
# index
405401
rm -f HTML.index $(GENERATED_SGML)
406402
# XSLT
407-
rm -f postgres.xml postgres.xmltmp htmlhelp.hhp toc.hhc index.hhk *.fo *.fo.tmp
403+
rm -f postgres.xml postgres.xmltmp htmlhelp.hhp toc.hhc index.hhk *.fo
408404
# EPUB
409405
rm -f postgres.epub
410406
# Texinfo

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy