[kernel] r7091 - dists/trunk/linux-modules-extra-2.6/debian

Bastian Blank waldi at costa.debian.org
Sun Aug 6 20:24:02 UTC 2006


Author: waldi
Date: Sun Aug  6 20:24:01 2006
New Revision: 7091

Modified:
   dists/trunk/linux-modules-extra-2.6/debian/rules.real

Log:
debian/rules.real: Define version of binaries.


Modified: dists/trunk/linux-modules-extra-2.6/debian/rules.real
==============================================================================
--- dists/trunk/linux-modules-extra-2.6/debian/rules.real	(original)
+++ dists/trunk/linux-modules-extra-2.6/debian/rules.real	Sun Aug  6 20:24:01 2006
@@ -12,6 +12,8 @@
   JOBS_ARG = -j$(DEBIAN_KERNEL_JOBS)
 endif
 
+MODULVERSION = $(shell dpkg -s $(MODULE)-source | perl -ne 'print $$1 if m/^Version: (.*)$$/;')
+
 #
 # Targets
 #
@@ -70,6 +72,6 @@
 	$(MAKE) -C $(HEADERS_DIR) M=$(CURDIR)/$(DIR) modules_install INSTALL_MOD_PATH=$(PACKAGE_DIR) INSTALL_MOD_DIR=extra/$(MODULE)
 
 install-real:
-	$(MAKE) -f debian/rules.real install install-base PACKAGES="$(PACKAGES)"
+	$(MAKE) -f debian/rules.real install install-base PACKAGES="$(PACKAGES)" GENCONTROL_ARGS="-v$(MODULVERSION)+$(SOURCEVERSION)"
 
 -include $(MODULE)/rules



More information about the Kernel-svn-changes mailing list