summaryrefslogtreecommitdiff
path: root/debian/modules
diff options
context:
space:
mode:
authorBastian Blank <waldi@debian.org>2006-05-25 14:20:45 +0000
committerBastian Blank <waldi@debian.org>2006-05-25 14:20:45 +0000
commit580dc9ee10baf9ba5284d95f6dac778fae329f3e (patch)
treecea611084daa3561f4e03cb09fe6edff25a32b67 /debian/modules
parentf7cfdf3e19f3621000b35dcee3fcd41b5c02d52c (diff)
debian/modules/rules.include: Make it possible to overwrite the gencontrol call.
svn path=/dists/trunk/linux-2.6/; revision=6702
Diffstat (limited to 'debian/modules')
-rw-r--r--debian/modules/rules.include3
1 files changed, 2 insertions, 1 deletions
diff --git a/debian/modules/rules.include b/debian/modules/rules.include
index 0720da490..19180e18e 100644
--- a/debian/modules/rules.include
+++ b/debian/modules/rules.include
@@ -31,6 +31,7 @@ binary: binary-indep binary-arch
CONTROL_FILES = debian/changelog $(wildcard debian/templates/control.*)
CONTROL_FILES += $(wildcard debian/arch/defines) $(wildcard debian/arch/*/defines) $(wildcard debian/arch/*/*/defines)
+GENCONTROL = $(__MODULES_DIR)gencontrol.py
debian/control debian/rules.gen: $(CONTROL_FILES)
if [ -f debian/control.md5sum ]; then \
if md5sum $^ | diff - debian/control.md5sum > /dev/null; then true; else \
@@ -41,7 +42,7 @@ debian/control debian/rules.gen: $(CONTROL_FILES)
fi
debian/control-real: $(CONTROL_FILES)
- $(__MODULES_DIR)gencontrol.py
+ $(GENCONTROL)
md5sum $^ > debian/control.md5sum
@echo
@echo This target is made to fail intentionally, to make sure