Author: greg.ercolano
Date: 2010-12-05 19:00:06 -0800 (Sun, 05 Dec 2010)
New Revision: 7958
Log:
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.



Modified:
   branches/branch-1.3/documentation/Makefile

Modified: branches/branch-1.3/documentation/Makefile
===================================================================
--- branches/branch-1.3/documentation/Makefile  2010-12-06 02:47:27 UTC (rev 
7957)
+++ branches/branch-1.3/documentation/Makefile  2010-12-06 03:00:06 UTC (rev 
7958)
@@ -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 @@
        $(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.

_______________________________________________
fltk-commit mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-commit

Reply via email to