From a25ed225a877a9eec1212733f8ed9ee65ab7bfb6 Mon Sep 17 00:00:00 2001 From: Masamichi Hosoda Date: Fri, 8 Jan 2016 23:40:55 +0900 Subject: [PATCH] Issue 4729: Fix document building for XeTeX If the documents were built by XeTeX, XeTeX couldn't find picture/pdf/*.pdf for building essay.pdf. This commit creates symlink to solve the problem. In the case of pdfTeX, it does not affect. --- Documentation/pictures/GNUmakefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Documentation/pictures/GNUmakefile b/Documentation/pictures/GNUmakefile index 131de3e323..ef72775059 100644 --- a/Documentation/pictures/GNUmakefile +++ b/Documentation/pictures/GNUmakefile @@ -19,7 +19,7 @@ include $(depth)/make/stepmake.make default: ifeq ($(out),www) -local-WWW-1: $(OUT_BITMAP_IMAGES) $(OUT_PDF_IMAGES) +local-WWW-1: $(OUT_BITMAP_IMAGES) $(OUT_PDF_IMAGES) $(outdir)/pdf endif ######### @@ -43,3 +43,5 @@ $(outdir)/%.png: %.eps $(outdir)/%.pdf: %.eps gs -dAutoRotatePages=/None -q -sDEVICE=pdfwrite -dNOPAUSE -dBATCH -sOutputFile=$@ -dEPSCrop -c .setpdfwrite -f $< +$(outdir)/pdf: + ln -sf $(top-src-dir)/Documentation/pictures/pdf $@ -- 2.39.2