diff options
author | Benjamin Franzke <benjaminfranzke@googlemail.com> | 2013-01-16 04:04:37 +0100 |
---|---|---|
committer | Benjamin Franzke <benjaminfranzke@googlemail.com> | 2013-01-16 04:04:37 +0100 |
commit | e0130bd339ec841abe84aa50ed1ff62992d26f4e (patch) | |
tree | a835270f01399a318bb7b2e999f733080daa7539 /Makefile | |
parent | f823e11ec9822ba873143b2c2f6ece82b32d6b12 (diff) | |
download | mmswe-e0130bd339ec841abe84aa50ed1ff62992d26f4e.tar.gz mmswe-e0130bd339ec841abe84aa50ed1ff62992d26f4e.tar.bz2 mmswe-e0130bd339ec841abe84aa50ed1ff62992d26f4e.zip |
Start presentation
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 17 |
1 files changed, 14 insertions, 3 deletions
@@ -2,10 +2,11 @@ DEBUG:=yes DIAs=$(wildcard image/*.dia) SVGs=$(DIAs:.dia=.svg) +PNGs=$(SVGs:.svg=.png) EPSs=$(DIAs:.dia=.eps) .PHONY: all clean -all: projekt_doku.pdf +all: projekt_doku.pdf presentation.html #.SUFFIXES: .asciidoc .html #presentation.html: presentation.asciidoc @@ -20,6 +21,10 @@ all: projekt_doku.pdf #.asciidoc.tex: # asciidoc --backend=latex $< +presentation.html: presentation.txt $(SVGs) $(PNGs) + asciidoc --out-file=$@ --backend=slidy $< + sed -i -f fix-css.sed $@ + projekt_doku.pdf: projekt_doku.asciidoc thesis.xsl thesis.sty $(SVGs) $(EPSs) a2x -f pdf $< @@ -32,13 +37,19 @@ pluggit: .SUFFIXES: .dia .svg .dia.svg: @dia --export=$@ --filter=svg $< + sed -i 's~xlink:href="[^"]*/image/\([^"/]*\)"~xlink:href="\1"~' $@ -.SUFFIXES: .eps .svg +.SUFFIXES: .dia .eps .dia.eps: @dia --export=$@ --filter=eps $< +.SUFFIXES: .svg .png +.svg.png: + rsvg-convert -f png $< > $@ + clean: - rm -f document.html presentation.html document.pdf ${GenSVG} + rm -f projekt_doku.pdf presentation.html document.pdf + rm -f $(SVGs) $(PNGs) $(EPSs) $(MAKE) -C pluggit/ -f makefile.voodoo clean rm -f pluggit/src/classes.cpp $(MAKE) -C directfb-voodoo/ -f makefile.voodoo clean |