[Fusionforge-commits] r8434 - trunk/gforge/debian

Roland Mas lolando at libremir.placard.fr.eu.org
Fri Nov 20 13:32:06 CET 2009


Author: lolando
Date: 2009-11-20 13:32:06 +0100 (Fri, 20 Nov 2009)
New Revision: 8434

Modified:
   trunk/gforge/debian/rules
Log:
Simplify a bit

Modified: trunk/gforge/debian/rules
===================================================================
--- trunk/gforge/debian/rules	2009-11-20 12:31:57 UTC (rev 8433)
+++ trunk/gforge/debian/rules	2009-11-20 12:32:06 UTC (rev 8434)
@@ -46,7 +46,9 @@
 debian/po/%:
 	cat $(patsubst debian/po/%,debian/dsf-po/%,$@) | sed 's/@PACKAGE@/$(PACKAGE)/g' | sed 's/@FORGENAME@/$(FORGENAME)/g' > $@
 
-build: patch-stamp remove-binary-files debian/po/templates.pot conffiles
+.PHONY: patch
+
+build: patch remove-binary-files debian/po/templates.pot conffiles
 	dh $@
 
 # Build man pages from Docbook sources
@@ -67,8 +69,6 @@
 # Preprocess files with DSF-Helper
 	perl $(CURDIR)/deb-specific/dsf-helper.pl
 
-	touch build-stamp
-
 clean: remove-binary-files unpatch
 	dh $@
 
@@ -111,16 +111,16 @@
 	rm -f $(CURDIR)/debian/$(PACKAGE)-web-apache2/usr/share/*/www/themes/$(PACKAGE)/COPYING
 
 # Remove Snoopy class from binary packages (provided by libphp-snoopy)
-	for i in $(addprefix $(CURDIR)/debian/,$(shell dh_listpackages)) ; do find $$i -name Snoopy.class.php | xargs -r rm ; done
+	find $(addprefix $(CURDIR)/debian/,$(shell dh_listpackages)) -name Snoopy.class.php | xargs -r rm
 
 # Remove NuSOAP class from binary packages (provided by libnusoap-php)
-	for i in $(addprefix $(CURDIR)/debian/,$(shell dh_listpackages)) ; do find $$i -name nusoap.php | xargs -r rm ; done
+	find $(addprefix $(CURDIR)/debian/,$(shell dh_listpackages)) -name nusoap.php | xargs -r rm
 
 # Remove potential SCM artefacts from binary packages
-	for i in $(addprefix $(CURDIR)/debian/,$(shell dh_listpackages)) ; do find $$i -name .svn -or -name {arch} -or -name .arch-ids -or -name .bzr -or -name .cvsignore | xargs -r rm -rf ; done
+	find $(addprefix $(CURDIR)/debian/,$(shell dh_listpackages)) -name .svn -or -name {arch} -or -name .arch-ids -or -name .bzr -or -name .cvsignore | xargs -r rm -rf
 
 # Also remove uuencoded files
-	for i in $(addprefix $(CURDIR)/debian/,$(shell dh_listpackages)) ; do find $$i -name \*.uu | xargs -r rm ; done
+	find $(addprefix $(CURDIR)/debian/,$(shell dh_listpackages)) -name \*.uu | xargs -r rm
 
 binary: install
 




More information about the Fusionforge-commits mailing list