Commit c715db9ff41d4842edad087e39993a86af241c5a

sammy 2008-05-23T00:15:57

* Simplify EPS creation rules.

diff --git a/docs/Makefile.am b/docs/Makefile.am
index d999833..0ce59d4 100644
--- a/docs/Makefile.am
+++ b/docs/Makefile.am
@@ -21,7 +21,7 @@ PNGS = \
 
 stamp-eps: $(PNGS)
 if HAVE_LATEX
-	for i in $^; do convert $$i $$(echo $$i | sed 's/png$$/eps/'); done
+	for i in $^; do convert $$i $$i.eps; done
 endif
 	touch $@
 
@@ -35,7 +35,7 @@ stamp-latex: stamp-doxygen
 	rm -f latex/ftgl.tex latex/ftgl.pdf
 	mv latex/refman.tex latex/ftgl.tex
 	sed 's/setlength{/renewcommand{/' latex/ftgl.tex > latex/refman.tex
-	cd latex && $(MAKE) $(AM_CFLAGS) refman.pdf #|| (cat refman.log; exit 1)
+	cd latex && $(MAKE) $(AM_CFLAGS) refman.pdf || (cat refman.log; exit 1)
 	mv latex/refman.pdf latex/ftgl.pdf
 	touch stamp-latex
 
diff --git a/docs/ftgl.dox b/docs/ftgl.dox
index 29810a2..33a012f 100644
--- a/docs/ftgl.dox
+++ b/docs/ftgl.dox
@@ -1,7 +1,7 @@
 /** \mainpage FTGL User Guide
 
  \image html logo.png
- \image latex logo.eps "" width=0.3\textwidth
+ \image latex logo.png "" width=0.3\textwidth
 
  \section intro Introduction
 
diff --git a/docs/tutorial.dox b/docs/tutorial.dox
index 7a3977f..bf7151d 100644
--- a/docs/tutorial.dox
+++ b/docs/tutorial.dox
@@ -23,7 +23,7 @@
  - Pixmap fonts use 8-bit (256 levels) rasterised glyphs.
 
  \image html rasterfont.png
- \image latex rasterfont.eps "" width=0.7\textwidth
+ \image latex rasterfont.png "" width=0.7\textwidth
 
  \subsection vector Vector fonts
 
@@ -36,7 +36,7 @@
    meshes renderable separately to apply different effects and materials.
 
  \image html vectorfont.png
- \image latex vectorfont.eps "" width=0.7\textwidth
+ \image latex vectorfont.png "" width=0.7\textwidth
 
  \subsection texture Textured fonts
 
@@ -50,7 +50,7 @@
    more than one frame.
 
  \image html texturefont.png
- \image latex texturefont.eps "" width=0.7\textwidth
+ \image latex texturefont.png "" width=0.7\textwidth
 
  \section creating Create font objects
 
@@ -99,7 +99,7 @@ font.Render("Hello World!");
  \subsection metrics Font metrics
 
  \image html metrics.png
- \image latex metrics.eps "" width=0.5\textwidth
+ \image latex metrics.png "" width=0.5\textwidth
 
  If you ask a font to render at 0.0, 0.0 the bottom left most pixel or polygon
  may not be aligned to 0.0, 0.0. With FTFont::Ascender(), FTFont::Descender()