try to improve obj->png conversion
authorTom Henderson <tomh@tomh.org>
Fri, 04 Apr 2008 08:47:41 -0700
changeset 2875 010d2708bb68
parent 2874 15e2358f9fef
child 2878 580a733e49d6
try to improve obj->png conversion
doc/tutorial/Makefile
--- a/doc/tutorial/Makefile	Thu Apr 03 23:15:16 2008 -0700
+++ b/doc/tutorial/Makefile	Fri Apr 04 08:47:41 2008 -0700
@@ -12,9 +12,13 @@
 
 all:  images html split-html pdf
 
+# Note:  tgif requires a valid x display to convert from .obj to .png.  
+#        If running this makefile on a remote console, the X virtual frame
+#        buffer may be needed (xorg-x11-server-Xvfb) to provide a "fake"
+#        display
 images:
 	cd figures/; $(TGIF) -print -eps $(TGIF_SOURCES) 
-	cd figures/; $(foreach FILE,$(TGIF_EPS),$(CONVERT) $(FILE) ${FILE:.eps=.png};)
+	cd figures/; $(TGIF) -print -png $(TGIF_SOURCES) 
 	cd figures/; $(foreach FILE,$(TGIF_EPS),$(EPSTOPDF) $(FILE);)
 
 html: images