From af13b67496ba0ccc4c3a98f6b1df65edab053b8a Mon Sep 17 00:00:00 2001 From: Benjamin Franzke Date: Tue, 15 Jan 2013 09:05:02 +0100 Subject: Makefile: Use directfb-voodoo submodule for building And simplify building process. --- Makefile | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index f9478fc..c006177 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,4 @@ 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" @@ -28,11 +27,8 @@ projekt_doku.pdf: projekt_doku.asciidoc hsw.sty .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 + $(MAKE) -C directfb-voodoo/ -f makefile.voodoo DESTDIR=../install DEBUG=$(DEBUG) all package + $(MAKE) -C pluggit/ -f makefile.voodoo DIRECTFB_VOODOO=../directfb-voodoo/DirectFB_Voodoo all #.SUFFIXES: .dia .svg #.dia.svg: @@ -45,4 +41,6 @@ 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* -- cgit