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

Christian Bayle cbayle at libremir.placard.fr.eu.org
Tue Apr 7 23:20:38 CEST 2009


Author: cbayle
Date: 2009-04-07 23:20:38 +0200 (Tue, 07 Apr 2009)
New Revision: 7374

Modified:
   trunk/gforge/debian/rules
Log:
Add a target to build the control file


Modified: trunk/gforge/debian/rules
===================================================================
--- trunk/gforge/debian/rules	2009-04-07 21:14:09 UTC (rev 7373)
+++ trunk/gforge/debian/rules	2009-04-07 21:20:38 UTC (rev 7374)
@@ -33,7 +33,7 @@
 
 installfiles: $(INSTALLFILESLIST)
 
-conffiles: cronfiles dirsfiles installfiles
+conffiles: cronfiles dirsfiles installfiles debian/control
 
 debian/$(PACKAGE)-%.cron.d:
 	@echo "Creating $@"
@@ -53,6 +53,9 @@
 	@echo "Creating $@"
 	cp $(CURDIR)/install/$* $@ 
 
+debian/control:
+	ls $(CURDIR)/control/[0-9][0-9][0-9]* | grep -v shortdesc | while read file ; do cat $${file}; if [ -f $${file}.shortdesc ] ; then cat $(CURDIR)/control/AAAdesc; echo ' .'; cat $${file}.shortdesc; fi; echo '';  done | sed 's/@PACKAGE@/$(PACKAGE)/g' > $(CURDIR)/debian/control
+
 configure: configure-stamp debian/po/templates.pot
 configure-stamp: remove-binary-files
 	dh_testdir




More information about the Fusionforge-commits mailing list