[Fusionforge-commits] r10503 - trunk

Christian Bayle cbayle at libremir.placard.fr.eu.org
Thu Sep 16 15:42:21 CEST 2010


Author: cbayle
Date: 2010-09-16 15:42:21 +0200 (Thu, 16 Sep 2010)
New Revision: 10503

Modified:
   trunk/Makefile
Log:
buildtar require $(BUILDRESULT), add how to make $(BUILDRESULT) if necessary


Modified: trunk/Makefile
===================================================================
--- trunk/Makefile	2010-09-16 13:25:27 UTC (rev 10502)
+++ trunk/Makefile	2010-09-16 13:42:21 UTC (rev 10503)
@@ -47,16 +47,23 @@
 	#cd tests ; phpunit --verbose unit; phpunit --verbose code; 
 	cd tests ; php AllTests.php
 
+checkfull:
+	cd tests ; phpunit --verbose build
+	#cd tests ; php AllFullTests.php
+
 checkdebtools:
 	sudo apt-get install php5-cli phpunit php-htmlpurifier pcregrep moreutils
 
-buildtar:
+buildtar: $(BUILDRESULT)
 	rm -fr /tmp/$(VERSION)
 	cd gforge; find . -type f -or -type l | grep -v '/.svn/' | grep -v '^./debian' | grep -v '^./deb-specific' | grep -v '^./rpm-specific' | grep -v '^./contrib' | grep -v '^./fusionforge.spec' | cpio -pdumB --quiet /tmp/$(VERSION)
 	cd /tmp/$(VERSION); utils/manage-translations.sh build
 	cd /tmp/; tar jcf $(BUILDRESULT)/$(VERSION).tar.bz2 $(VERSION)
 	rm -fr /tmp/$(VERSION)
 
+$(BUILDRESULT):
+	mkdir $(BUILDRESULT)
+
 build-unit-tests:
 	mkdir -p $(BUILDDIR)/reports/coverage
 	cd tests; phpunit --log-junit $(BUILDDIR)/reports/phpunit.xml --coverage-clover $(BUILDDIR)/reports/coverage/clover.xml --coverage-html $(BUILDDIR)/reports/coverage/ AllTests.php




More information about the Fusionforge-commits mailing list