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

Commitecb8226

Browse files
committed
PDF docs build: avoid spurious "warn" in build logs.
Improve one4c8865 so that the string "warn" appears inthe output when there's a problem, and not when there isn't.This should silence noise I've been seeing in my buildfarmwarning scraper.
1 parentfb05656 commitecb8226

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎doc/src/sgml/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -158,9 +158,9 @@ XSLTPROC_FO_FLAGS += --stringparam img.src.path '$(srcdir)/'
158158
# There is no easy way to pipe output and capture its return code,
159159
# so add a final line to report the return code.
160160
%.pdf:%.fo$(ALL_IMAGES)
161-
{ LANG=C$(FOP) -fo $< -pdf$@2>&1;echo"FOP_RETURN$$?"; }|\
161+
@{ LANG=C$(FOP) -fo $< -pdf$@2>&1;echo"FOP_RETURN$$?"; }|\
162162
$(AWK)'BEGIN { warn = 0 } $$1 != "FOP_RETURN" { print } /not available in font/ { warn = 1 } \
163-
END {if (warn!= 0) print("\nFound characters that cannot be output in the PDF document; see README.non-ASCII"); \
163+
END {if (warn!= 0) print("\nWarning: found characters that cannot be output in the PDF document; see README.non-ASCII"); \
164164
if ($$2!= 0) {exit$$2} }' 1>&2
165165

166166

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp