From 166e19e159d5e5a9bb30f53fd8881acf29b3d012 Mon Sep 17 00:00:00 2001 From: Benjamin Franzke Date: Tue, 15 Jan 2013 17:50:06 +0100 Subject: doc: Add framebuffer and directfb images --- Makefile | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) (limited to 'Makefile') 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} -- cgit