debian/modules/rules.include: Make it possible to overwrite the gencontrol call.

svn path=/dists/trunk/linux-2.6/; revision=6702
This commit is contained in:
Bastian Blank 2006-05-25 14:20:45 +00:00
parent f7cfdf3e19
commit 580dc9ee10
1 changed files with 2 additions and 1 deletions

View File

@ -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