Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitd49cc58

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 parent6feb69f commitd49cc58

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)

[8]ページ先頭

©2009-2025 Movatter.jp