diff --git a/doc/src/sgml/Makefile b/doc/src/sgml/Makefile index ac3a142bb2..24b895f3c3 100644 --- a/doc/src/sgml/Makefile +++ b/doc/src/sgml/Makefile @@ -271,9 +271,11 @@ htmlhelp: stylesheet-hh.xsl postgres.xml $(XSLTPROC) $(XSLTPROCFLAGS) $^ %-A4.fo.tmp: stylesheet-fo.xsl %.xml + $(XMLLINT) --noout --valid $*.xml $(XSLTPROC) $(XSLTPROCFLAGS) --stringparam paper.type A4 -o $@ $^ %-US.fo.tmp: stylesheet-fo.xsl %.xml + $(XMLLINT) --noout --valid $*.xml $(XSLTPROC) $(XSLTPROCFLAGS) --stringparam paper.type USletter -o $@ $^ FOP = fop