From ac0d3d4c8c788c2952cd457f982c77d3be3d13ad Mon Sep 17 00:00:00 2001 From: Benjamin Franzke Date: Tue, 15 Jan 2013 08:32:14 +0100 Subject: Makefile: Support building directfb & pluggit --- Makefile | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 6b68013..f9478fc 100644 --- a/Makefile +++ b/Makefile @@ -1,3 +1,6 @@ +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 @@ -23,6 +26,14 @@ projekt_doku.pdf: projekt_doku.asciidoc 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 $< @@ -32,3 +43,6 @@ projekt_doku.pdf: projekt_doku.asciidoc hsw.sty # clean: rm -f document.html presentation.html document.pdf ${GenSVG} + $(MAKE) -C pluggit/ -f makefile.voodoo clean + rm -f pluggit/src/classes.cpp + -- cgit