On 26.11.24 20:04, Bruce Momjian wrote:
%.pdf: %.fo $(ALL_IMAGES)
- $(FOP) -fo $< -pdf $@
+ LANG=C $(FOP) -fo $< -pdf $@ 2>&1 | \
+ awk 'BEGIN { warn = 0 } { print }/not available in font/ { warn = 1 }
\
+ END { if (warn != 0) print("\nFound characters that cannot be displayed in the PDF
document") }' 1>&2
Wouldn't that lose the exit code from the fop execution?
