TT#124273 Use execute_after_ instead of override_ for dh command

This avoids duplicating the call we want to hook into.

Change-Id: Id9e21f01abff950c4a803c93b7319c9230f4e9a6
mr10.2
Guillem Jover 5 years ago
parent f607c7dd4e
commit 459484a2c8

6
debian/rules vendored

@ -17,16 +17,14 @@ override_dh_auto_build:
# catch any syntax errors *before* building the .deb
$(MAKE) syntaxcheck
override_dh_install:
dh_install
execute_after_dh_install:
for s in $(SCRIPTS); do \
test -r "$$s" \
&& sed -i -e "s/VERSION = 'UNRELEASED'/VERSION = '$(VERSION)'/" "$$s" \
|| true; \
done
override_dh_auto_test:
dh_auto_test
execute_after_dh_auto_test:
## this is a hack to automatically copy the pytest result via pbuilder to
## the workspace so we can automatically use it as Jenkins test result
# starting with pbuilder v0.216 it defaults to /build

Loading…
Cancel
Save