[kernel] r7105 - in dists/trunk/linux-modules-extra-2.6/debian: bin
Bastian Blank
waldi at costa.debian.org
Mon Aug 7 08:57:29 UTC 2006
Author: waldi
Date: Mon Aug 7 08:57:28 2006
New Revision: 7105
Modified:
dists/trunk/linux-modules-extra-2.6/debian/bin/gencontrol.py
dists/trunk/linux-modules-extra-2.6/debian/rules.real
Log:
* debian/bin/gencontrol.py: Export package name for sources.
* debian/rules.real
- Use supplied package name.
- Check if version is available.
Modified: dists/trunk/linux-modules-extra-2.6/debian/bin/gencontrol.py
==============================================================================
--- dists/trunk/linux-modules-extra-2.6/debian/bin/gencontrol.py (original)
+++ dists/trunk/linux-modules-extra-2.6/debian/bin/gencontrol.py Mon Aug 7 08:57:28 2006
@@ -44,6 +44,7 @@
vars.update(config_entry)
vars['module'] = module
makeflags['MODULE'] = module
+ makeflags['MODULESOURCE'] = "%s-source" % module
if not vars.get('longdesc', None):
vars['longdesc'] = ''
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 Mon Aug 7 08:57:28 2006
@@ -12,7 +12,10 @@
JOBS_ARG = -j$(DEBIAN_KERNEL_JOBS)
endif
-MODULVERSION = $(shell dpkg -s $(MODULE)-source | perl -ne 'print $$1 if m/^Version: (.*)$$/;')
+MODULVERSION = $(shell dpkg -s $(MODULESOURCE) | perl -ne 'print $$1 if m/^Version: (.*)$$/;')
+ifeq (,$(MODULVERSION))
+$(error Was not able to retreive version of $(MODULESOURCE))
+endif
#
# Targets
More information about the Kernel-svn-changes
mailing list