Make sure DISPLAY is unset for inkscape processing.
authorAdam Dickmeiss <adam@indexdata.dk>
Tue, 22 Apr 2008 11:28:53 +0000 (13:28 +0200)
committerAdam Dickmeiss <adam@indexdata.dk>
Tue, 22 Apr 2008 11:28:53 +0000 (13:28 +0200)
doc/Makefile.am

index 6a381fe..e1744c5 100644 (file)
@@ -93,10 +93,10 @@ manref.xml: $(XMLMAN) $(srcdir)/common/stripref.xsl
        done
 
 multi.png: multi.svg
-       inkscape --export-png=$@ --export-area=0:0:1050:500 $?
+       unset DISPLAY; inkscape --export-png=$@ --export-area=0:0:1050:500 $?
 
 multi.eps: multi.svg
-       inkscape --export-eps=$@ --export-bbox-page $?
+       unset DISPLAY; inkscape --export-eps=$@ --export-bbox-page $?
 
 .eps.pdf:
        epstopdf -hires $?