X-Git-Url: https://ginac.de/ginac.git//ginac.git?a=blobdiff_plain;f=doc%2Ftutorial%2FMakefile.am;h=2ddabe8ee4152e594b854e20bf20d1b6f00237bd;hb=ca16d5cce0936fdd03a58d29d47cd6c93649e74f;hp=a2763b1c5a3f7154a74687073170f8378752d34d;hpb=0b1b69cae8f548d656e0955fc543dd14ab93a139;p=ginac.git diff --git a/doc/tutorial/Makefile.am b/doc/tutorial/Makefile.am index a2763b1c..2ddabe8e 100644 --- a/doc/tutorial/Makefile.am +++ b/doc/tutorial/Makefile.am @@ -8,18 +8,18 @@ TXT = $(addsuffix .txt, $(basename $(FIG))) SUFFIXES = .fig .png .eps .txt -%.eps: %.fig +.fig.eps: @if [ "${FIG2DEV}" ]; then \ - echo "Running ${FIG2DEV} -L ps -m 0.9 $< $@..."; \ - ${FIG2DEV} -L ps -m 0.9 $< $@; \ + echo "Running ${FIG2DEV} -L eps -m 0.9 $< $@..."; \ + cd $(srcdir) && ${FIG2DEV} -L eps -m 0.9 $< $@; \ else \ echo "warning: fig2dev was not found by configure"; \ fi -%.png: %.fig +.fig.png: @if [ "${FIG2DEV}" ]; then \ echo "Running ${FIG2DEV} -L png $< $@..."; \ - ${FIG2DEV} -L png $< $@; \ + cd $(srcdir) && ${FIG2DEV} -L png $< $@; \ else \ echo "warning: fig2dev was not found by configure"; \ fi