File tree 1 file changed +4
-2
lines changed
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
164
164
postgres.pdf :
165
165
$(error Invalid target; use postgres-A4.pdf or postgres-US.pdf as targets)
166
166
167
+ XSLTPROC_FO_FLAGS += --stringparam img.src.path '$(srcdir ) /'
168
+
167
169
% -A4.fo : stylesheet-fo.xsl % .sgml $(ALLSGML )
168
170
$(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,$^ )
170
172
171
173
% -US.fo : stylesheet-fo.xsl % .sgml $(ALLSGML )
172
174
$(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,$^ )
174
176
175
177
% .pdf : % .fo $(ALL_IMAGES )
176
178
$(FOP ) -fo $< -pdf $@
You can’t perform that action at this time.
0 commit comments