From: x2000habouzit Date: Mon, 22 Nov 2004 11:26:09 +0000 (+0000) Subject: add target devel to makefile X-Git-Tag: xorg/old~840 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=2aee89afa3301d298d882c4fcd48fff9155160f8;p=platal.git add target devel to makefile --- diff --git a/Makefile b/Makefile index 2399c5d..1ad864e 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ -# $Id: Makefile,v 1.1 2004-11-21 20:40:57 x99laine Exp $ - +# $Id: Makefile,v 1.2 2004-11-22 11:26:09 x2000habouzit Exp $ +################################################################################ # definitions VERSION := $(shell grep VERSION ChangeLog | head -1 | sed -e "s/VERSION //;s/\t.*//") @@ -11,6 +11,7 @@ PKG_DIRS = configs htdocs include install.d plugins po scripts templates upgrade VCS_FILTER = ! -name .arch-ids ! -name CVS +################################################################################ # global targets build: pkg-build @@ -23,9 +24,24 @@ clean: %: %.in Makefile sed -e 's,@VERSION@,$(VERSION),g' $< > $@ +################################################################################ +# devel targets +cache: + mkdir cache + chmod o+w cache + +templates_c: + mkdir templates_c + chmod o+w templates_c +devel: build cache templates_c + +################################################################################ # diogenes package targets +config: + sed -e 's,@VERSION@,$(VERSION),g' $< > $@ + pkg-build: include/xorg.globals.inc.php # make -C po