File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -164,13 +164,15 @@ postgres.txt: postgres.html
164164postgres.pdf :
165165 $(error Invalid target; use postgres-A4.pdf or postgres-US.pdf as targets)
166166
167+ XSLTPROC_FO_FLAGS += --stringparam img.src.path '$(srcdir ) /'
168+
167169% -A4.fo : stylesheet-fo.xsl % .sgml $(ALLSGML )
168170 $(XMLLINT ) $(XMLINCLUDE ) --noout --valid $(word 2,$^ )
169- $(XSLTPROC ) $(XMLINCLUDE ) $(XSLTPROCFLAGS ) --stringparam paper.type A4 -o $@ $(wordlist 1,2,$^ )
171+ $(XSLTPROC ) $(XMLINCLUDE ) $(XSLTPROCFLAGS ) $( XSLTPROC_FO_FLAGS ) --stringparam paper.type A4 -o $@ $(wordlist 1,2,$^ )
170172
171173% -US.fo : stylesheet-fo.xsl % .sgml $(ALLSGML )
172174 $(XMLLINT ) $(XMLINCLUDE ) --noout --valid $(word 2,$^ )
173- $(XSLTPROC ) $(XMLINCLUDE ) $(XSLTPROCFLAGS ) --stringparam paper.type USletter -o $@ $(wordlist 1,2,$^ )
175+ $(XSLTPROC ) $(XMLINCLUDE ) $(XSLTPROCFLAGS ) $( XSLTPROC_FO_FLAGS ) --stringparam paper.type USletter -o $@ $(wordlist 1,2,$^ )
174176
175177% .pdf : % .fo $(ALL_IMAGES )
176178 $(FOP ) -fo $< -pdf $@
You can’t perform that action at this time.
0 commit comments