From: Wolfram Schneider Date: Mon, 7 Feb 2011 11:00:57 +0000 (+0000) Subject: Let compile even if inkscape tool is not installed, e.g.: X-Git-Tag: v1.2.5~1^2~16 X-Git-Url: http://lists.indexdata.dk/?a=commitdiff_plain;h=12e3402d596875a42f3d92d251b4d8f70c0cf661;p=metaproxy-moved-to-github.git Let compile even if inkscape tool is not installed, e.g.: make INKSCAPE=true -j4 --- 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 $?