[Fusionforge-commits] r9540 - trunk

Christian Bayle cbayle at libremir.placard.fr.eu.org
Tue Apr 20 13:50:31 CEST 2010


Author: cbayle
Date: 2010-04-20 13:50:30 +0200 (Tue, 20 Apr 2010)
New Revision: 9540

Modified:
   trunk/Makefile.debian
Log:
Add support for debian hook


Modified: trunk/Makefile.debian
===================================================================
--- trunk/Makefile.debian	2010-04-20 11:50:22 UTC (rev 9539)
+++ trunk/Makefile.debian	2010-04-20 11:50:30 UTC (rev 9540)
@@ -92,11 +92,12 @@
 DEBBUILDOPTS=--debbuildopts -sa 
 ARCH=$(shell dpkg-architecture -qDEB_BUILD_ARCH)
 
-UBUHOOK="--hookdir $(CURDIR)/hook/ubuntu"
 # Some doc found there http://wiki.debian.org/cowbuilder
 # Hook are not anymore necessary, but I keep as an example
 UBUHOOK="--components 'main universe' --debootstrapopts --exclude=udev,pcmciautils,initramfs-tools"
 UBUHOOK=--components "main universe" --hookdir $(CURDIR)/hook/ubuntu
+UBUHOOK=--components "main universe"
+DEBHOOK=
 
 ORIGFILE=$(PKGNAME)_$(SMAJOR).orig.tar.gz
 DSCFILE=$(PKGNAME)_$(SMAJOR)$(MINOR).dsc
@@ -249,8 +250,8 @@
 
 cowbuilddeb: # ***** This is the one to cowbuild debian packages ***** #
 	@for dist in $(DEBIANLIST); do \
-	echo "$(MAKE) -f Makefile.debian cowbuilddist XDISTRIB=$$dist DISTROOP='$(DEBIANOP)'" ; \
-	$(MAKE) -f Makefile.debian cowbuilddist XDISTRIB=$$dist DISTROOP="$(DEBIANOP)" ; \
+	echo "$(MAKE) -f Makefile.debian cowbuilddist XDISTRIB=$$dist DISTROOP='$(DEBIANOP)' HOOK='$(DEBHOOK)'" ; \
+	$(MAKE) -f Makefile.debian cowbuilddist XDISTRIB=$$dist DISTROOP="$(DEBIANOP) HOOK='$(DEBHOOK)'" ; \
 	done
 
 cowbuildubu: # ***** This is the one to cowbuild ubuntu packages ***** #




More information about the Fusionforge-commits mailing list