From a8acd5c5f0bf56df7bc2d94750783dd5bb592a4e Mon Sep 17 00:00:00 2001 From: Tom Henderson Date: Fri, 4 Apr 2008 08:47:41 -0700 Subject: [PATCH] try to improve obj->png conversion --- doc/tutorial/Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/doc/tutorial/Makefile b/doc/tutorial/Makefile index bf41f5111..a076e334f 100644 --- a/doc/tutorial/Makefile +++ b/doc/tutorial/Makefile @@ -12,9 +12,13 @@ TGIF_PNG = ${TGIF_SOURCES:.obj=.eps} 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