blob: f9478fc0fe7d63c17512695cdaaf9dc28a727113 (
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
39
40
41
42
43
44
45
46
47
48
|
DEBUG:=yes
DIRECTFB_DIR:=DirectFB141_2k11R3_beta5
DBLATEX_OPTS="-P latex.encoding=utf8 -P latex.output.revhistory=0 -P doc.publisher.show=0 -P latex.class.options=a4paper,12pt,abstraction,titlepage -b xetex"
.PHONY: all clean up
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 $<
.SUFFIXES: .asciidoc .pdf
projekt_doku.pdf: projekt_doku.asciidoc hsw.sty
a2x.py -f pdf --dblatex-opts=$(DBLATEX_OPTS) --dblatex-opts="-s hsw.sty" $<
.asciidoc.pdf:
a2x.py -f pdf --dblatex-opts=$(DBLATEX_OPTS) $<
.PHONY: pluggit
pluggit:
mkdir -p install/
$(MAKE) -C $(DIRECTFB_DIR)/ -f makefile.voodoo DESTDIR=../install DEBUG=$(DEBUG) all package
tar -xzf $(DIRECTFB_DIR)/DirectFB_Voodoo.tar.gz -C install/ --transform 's/DirectFB_Voodoo\///'
rmdir install/DirectFB_Voodoo
$(MAKE) -C pluggit/ -f makefile.voodoo DIRECTFB_VOODOO=../install all
#.SUFFIXES: .dia .svg
#.dia.svg:
# @dia --export=$@ --filter=svg $<
#
#up: document.html presentation.html
# scp -r document.html presentation.html image klemkow.net:www
#
clean:
rm -f document.html presentation.html document.pdf ${GenSVG}
$(MAKE) -C pluggit/ -f makefile.voodoo clean
rm -f pluggit/src/classes.cpp
|