summaryrefslogtreecommitdiff
path: root/documentation/Makefile
diff options
context:
space:
mode:
authorGreg Ercolano <erco@seriss.com>2010-12-06 03:00:06 +0000
committerGreg Ercolano <erco@seriss.com>2010-12-06 03:00:06 +0000
commit41c28597b91693485083cb11330c660b10b4c8dc (patch)
tree786bcb0e9f7a4de0624990ad1ae1e62e29877490 /documentation/Makefile
parent81dd665b461b864d3f5b53beac46f29614544e69 (diff)
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
Diffstat (limited to 'documentation/Makefile')
-rw-r--r--documentation/Makefile16
1 files changed, 16 insertions, 0 deletions
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.