[Fusionforge-commits] r9471 - trunk/gforge/packaging/control

Christian Bayle cbayle at libremir.placard.fr.eu.org
Wed Apr 14 13:42:42 CEST 2010


Author: cbayle
Date: 2010-04-14 13:42:42 +0200 (Wed, 14 Apr 2010)
New Revision: 9471

Modified:
   trunk/gforge/packaging/control/Makefile
Log:
take in account vars


Modified: trunk/gforge/packaging/control/Makefile
===================================================================
--- trunk/gforge/packaging/control/Makefile	2010-04-14 08:58:49 UTC (rev 9470)
+++ trunk/gforge/packaging/control/Makefile	2010-04-14 11:42:42 UTC (rev 9471)
@@ -1,2 +1,9 @@
-../../debian/control: $(wildcard [0-9][0-9][0-9]*)
-	ls [0-9][0-9][0-9]* | grep -v shortdesc | while read file ; do cat $${file}; if [ -f $${file}.shortdesc ] ; then cat AAAdesc; echo ' .'; cat $${file}.shortdesc; fi; echo '';  done | sed 's/@PACKAGE@/gforge/g' > ../../debian/control
+OLDPACKAGE=gforge
+PACKAGE=fusionforge
+SRCPACKAGE=fusionforge
+FORGENAME=FusionForge
+
+SED_REPLACE=sed -e 's/@PACKAGE@/$(PACKAGE)/g' -e 's/@SRCPACKAGE@/$(SRCPACKAGE)/g' -e 's/@OLDPACKAGE@/$(OLDPACKAGE)/g' -e 's/@FORGENAME@/$(FORGENAME)/g'
+
+../../debian/control: $(wildcard *)
+	ls [0-9][0-9][0-9]* | grep -v shortdesc | grep -v scmcpold | while read file ; do cat $${file}; if [ -f $${file}.shortdesc ] ; then cat AAAdesc; echo ' .'; cat $${file}.shortdesc; fi; echo '';  done | $(SED_REPLACE) > $@




More information about the Fusionforge-commits mailing list