From 12e3402d596875a42f3d92d251b4d8f70c0cf661 Mon Sep 17 00:00:00 2001 From: Wolfram Schneider Date: Mon, 7 Feb 2011 11:00:57 +0000 Subject: [PATCH] Let compile even if inkscape tool is not installed, e.g.: make INKSCAPE=true -j4 --- doc/Makefile.am | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/doc/Makefile.am b/doc/Makefile.am index 2ffd045..996be26 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -1,5 +1,7 @@ SUBDIRS = common +INKSCAPE=inkscape + SUFFIXES=.3mp .1 .pdf .tkl .esp .xml XMLFILES = book.xml manref.xml copyright.xml gpl-2.0.xml @@ -94,11 +96,12 @@ manref.xml: $(XMLMAN) $(srcdir)/common/stripref.xsl $(srcdir)/copyright.xml xsltproc $(srcdir)/common/stripref.xsl $(srcdir)/$$i | sed 1d >> manref.xml; \ done + multi.png: multi.svg - unset DISPLAY; inkscape --export-png=$@ --export-area=0:0:1050:500 $? + unset DISPLAY; ${INKSCAPE} --export-png=$@ --export-area=0:0:1050:500 $? multi.eps: multi.svg - unset DISPLAY; inkscape --export-eps=$@ --export-bbox-page $? + unset DISPLAY; ${INKSCAPE} --export-eps=$@ --export-bbox-page $? .eps.pdf: epstopdf -hires $? -- 1.7.10.4