git.postgresql.org Git - postgresql.git/commitdiff

git projects / postgresql.git / commitdiff
? search:
summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 6feb69f)
doc: Don't reformat .fo files before processing by fop
Fri, 4 Nov 2016 16:00:00 +0000 (12:00 -0400)
Sat, 5 Nov 2016 02:50:43 +0000 (22:50 -0400)
This messes up the whitespace in the output PDF document in some places.


diff --git a/doc/src/sgml/Makefile b/doc/src/sgml/Makefile
index 5df2f04dd6f98ea5335482297d99ded846583e44..84c94e8ae02b577285ba693197d006df4a41c6e4 100644 (file)
--- a/doc/src/sgml/Makefile
+++ b/doc/src/sgml/Makefile
@@ -270,20 +270,16 @@ htmlhelp: stylesheet-hh.xsl postgres.xml
$(XMLLINT) --noout --valid postgres.xml
$(XSLTPROC) $(XSLTPROCFLAGS) $^
-%-A4.fo.tmp: stylesheet-fo.xsl %.xml
+%-A4.fo: stylesheet-fo.xsl %.xml
$(XMLLINT) --noout --valid $*.xml
$(XSLTPROC) $(XSLTPROCFLAGS) --stringparam paper.type A4 -o $@ $^
-%-US.fo.tmp: stylesheet-fo.xsl %.xml
+%-US.fo: stylesheet-fo.xsl %.xml
$(XMLLINT) --noout --valid $*.xml
$(XSLTPROC) $(XSLTPROCFLAGS) --stringparam paper.type USletter -o $@ $^
FOP = fop
-# reformat FO output so that locations of errors are easier to find
-%.fo: %.fo.tmp
- $(XMLLINT) --format --output $@ $^
-
.SECONDARY: postgres-A4.fo postgres-US.fo
%-fop.pdf: %.fo
@@ -404,7 +400,7 @@ clean:
# index
rm -f HTML.index $(GENERATED_SGML)
# XSLT
- rm -f postgres.xml postgres.xmltmp htmlhelp.hhp toc.hhc index.hhk *.fo *.fo.tmp
+ rm -f postgres.xml postgres.xmltmp htmlhelp.hhp toc.hhc index.hhk *.fo
# EPUB
rm -f postgres.epub
# Texinfo
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /