summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorBenjamin Franzke <benjaminfranzke@googlemail.com>2013-01-15 17:50:06 +0100
committerBenjamin Franzke <benjaminfranzke@googlemail.com>2013-01-15 17:50:06 +0100
commit166e19e159d5e5a9bb30f53fd8881acf29b3d012 (patch)
tree4b5c9c0628e91a704ff634b9f4370fa7cff8d83b /Makefile
parent69b1333c4a3a315d549c7a4461a3592fc72a52fc (diff)
downloadmmswe-166e19e159d5e5a9bb30f53fd8881acf29b3d012.tar.gz
mmswe-166e19e159d5e5a9bb30f53fd8881acf29b3d012.tar.bz2
mmswe-166e19e159d5e5a9bb30f53fd8881acf29b3d012.zip
doc: Add framebuffer and directfb images
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile16
1 files changed, 12 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 4a7e803..586bd2a 100644
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,9 @@
DEBUG:=yes
+DIAs=$(wildcard image/*.dia)
+SVGs=$(DIAs:.dia=.svg)
+EPSs=$(DIAs:.dia=.eps)
+
.PHONY: all clean
all: projekt_doku.pdf
@@ -16,7 +20,7 @@ all: projekt_doku.pdf
#.asciidoc.tex:
# asciidoc --backend=latex $<
-projekt_doku.pdf: projekt_doku.asciidoc thesis.xsl thesis.sty
+projekt_doku.pdf: projekt_doku.asciidoc thesis.xsl thesis.sty $(SVGs) $(EPSs)
a2x -f pdf $<
.PHONY: pluggit
@@ -25,9 +29,13 @@ pluggit:
touch pluggit/src/Scaler.cxx
$(MAKE) -C pluggit/ -f makefile.voodoo DIRECTFB_VOODOO=../directfb-voodoo/DirectFB_Voodoo all
-#.SUFFIXES: .dia .svg
-#.dia.svg:
-# @dia --export=$@ --filter=svg $<
+.SUFFIXES: .dia .svg
+.dia.svg:
+ @dia --export=$@ --filter=svg $<
+
+.SUFFIXES: .eps .svg
+.dia.eps:
+ @dia --export=$@ --filter=eps $<
clean:
rm -f document.html presentation.html document.pdf ${GenSVG}