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

Commit842ac79

Browse files
committed
doc: Fix image use in PDF build with vpath
In a vpath build, we need to point to the source directory to allowFOP to find the images.
1 parent328c3f6 commit842ac79

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

‎doc/src/sgml/Makefile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -164,13 +164,15 @@ postgres.txt: postgres.html
164164
postgres.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$@

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp