X-Git-Url: https://ginac.de/ginac.git//ginac.git?a=blobdiff_plain;f=doc%2Ftutorial%2FMakefile.am;h=2ddabe8ee4152e594b854e20bf20d1b6f00237bd;hb=ca16d5cce0936fdd03a58d29d47cd6c93649e74f;hp=fc1e74b9be436d4dd1c9f318d73aaac8f301b1ea;hpb=ed62b717aa0383e08b4a2642cd923498898e1a18;p=ginac.git diff --git a/doc/tutorial/Makefile.am b/doc/tutorial/Makefile.am index fc1e74b9..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 eps -m 0.9 $< $@..."; \ - ${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