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:
parent
f7cfdf3e19
commit
580dc9ee10
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue