--- 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