]> git.donarmstrong.com Git - lilypond.git/commitdiff
Issue 4729: Fix document building for XeTeX
authorMasamichi Hosoda <trueroad@trueroad.jp>
Fri, 8 Jan 2016 14:40:55 +0000 (23:40 +0900)
committerMasamichi Hosoda <trueroad@trueroad.jp>
Sat, 16 Jan 2016 06:13:46 +0000 (15:13 +0900)
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

index 131de3e32383b152b7a9fb22925544fc58f20153..ef72775059496ad1b6ba8e6e4fbb9deacc199dce 100644 (file)
@@ -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 $@