From: <ru...@us...> - 2010-04-08 06:20:19
|
Revision: 7323 http://phpwiki.svn.sourceforge.net/phpwiki/?rev=7323&view=rev Author: rurban Date: 2010-04-08 06:20:12 +0000 (Thu, 08 Apr 2010) Log Message: ----------- add themes, add version to tardist, add cvstar target Modified Paths: -------------- trunk/Makefile Modified: trunk/Makefile =================================================================== --- trunk/Makefile 2010-04-07 18:14:42 UTC (rev 7322) +++ trunk/Makefile 2010-04-08 06:20:12 UTC (rev 7323) @@ -1,6 +1,7 @@ # $Id$ +# gnu make only + # user-definable settings: -VERSION= # for mysqladmin DBADMIN_USER=root DBADMIN_PASS=secret @@ -14,10 +15,12 @@ ETAGS_STDIN = /usr/bin/etags -L - endif +VERSION=$(shell admin/dump-version.pl) + ifeq ("$(VERSION)", "") - TARDIST = ../phpwiki.tar.bz2 + TARDIST = phpwiki.tar.bz2 else - TARDIST = ../phpwiki-$(VERSION).tar.bz2 + TARDIST = phpwiki-$(VERSION).tar.bz2 endif DB_SQLITE_DBFILE = /tmp/phpwiki-sqlite.db @@ -74,8 +77,12 @@ cd locale make -install: install-config install-database +themes: + cd themes + make +install: install-config install-database themes + install-config: config/config.ini config/config.ini: config/config-dist.ini @@ -128,9 +135,11 @@ dist: $(TARDIST) +cvstar: ../$(TARDIST) + # --exclude='\.*' -$(TARDIST) : - tar cfj $(TARDIST) --exclude=CVS \ +../$(TARDIST) : $(PHP_SRC) + tar cfj $(TARDIST) --exclude=CVS \ --exclude=config.ini \ --exclude='*~' \ --exclude='*.bak' \ @@ -142,3 +151,6 @@ --exclude=TAGS.full \ --exclude='*.tar.bz2' \ . + +$(TARDIST) : $(PHP_SRC) + svn list -R | egrep -v "/\$" | tar cfj $(TARDIST) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |