From 41c28597b91693485083cb11330c660b10b4c8dc Mon Sep 17 00:00:00 2001 From: Greg Ercolano Date: Mon, 6 Dec 2010 03:00:06 +0000 Subject: [PATCH] Added rules to create eps files (if they don't exist) using ImageMagick convert(1). This would probably allow us to remove the documentation/src/*.eps files from svn at some point. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7958 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- documentation/Makefile | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/documentation/Makefile b/documentation/Makefile index dc23910af..9d3c7dce5 100644 --- a/documentation/Makefile +++ b/documentation/Makefile @@ -28,6 +28,9 @@ # Get configuration stuff... include ../makeinclude +# The following appends to the existing .SUFFIXES +.SUFFIXES: .gif .jpg .png .eps + SRC_DOCDIR = ./src # These are the HTML "source" files... @@ -257,6 +260,19 @@ uninstall-linux uninstall-osx: $(RM) $(DESTDIR)$(mandir)/man6/checkers.6 $(RM) $(DESTDIR)$(mandir)/man6/sudoku.6 +# Image -> eps conversions +.gif.eps: + echo Creating eps for $<... + convert $< $@ + +.jpg.eps: + echo Creating eps for $<... + convert $< $@ + +.png.eps: + echo Creating eps for $<... + convert $< $@ + # The HTML files are now generated using doxygen, and this needs # an installed doxygen version and may take some time, so this target # is not made by default.