summaryrefslogtreecommitdiff
path: root/Makefile
blob: 4a7e80357db783a9f51dbac24c99f38a9955face (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
DEBUG:=yes

.PHONY: all clean
all: projekt_doku.pdf

#.SUFFIXES: .asciidoc .html
#presentation.html: presentation.asciidoc
#	asciidoc --out-file=$@.tmp --backend=slidy $<
#	sed -f fix-css.sed $@.tmp > $@
#	rm $@.tmp
#
#.asciidoc.html:
#	asciidoc --out-file=$@ --backend=html $<
#
#.SUFFIXES: .asciidoc .tex
#.asciidoc.tex:
#	asciidoc --backend=latex $<

projekt_doku.pdf: projekt_doku.asciidoc thesis.xsl thesis.sty
	a2x -f pdf $<

.PHONY: pluggit
pluggit:
	$(MAKE) -C directfb-voodoo/ -f makefile.voodoo DESTDIR=../install DEBUG=$(DEBUG) all package
	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 $<

clean:
	rm -f document.html presentation.html document.pdf ${GenSVG}
	$(MAKE) -C pluggit/ -f makefile.voodoo clean
	rm -f pluggit/src/classes.cpp
	$(MAKE) -C directfb-voodoo/ -f makefile.voodoo clean
	rm -rf directfb-voodoo/DirectFB_Voodoo*