2009-07-27 11:45:34 +01:00
|
|
|
#!/usr/bin/make -f
|
|
|
|
|
2019-02-27 17:12:14 +00:00
|
|
|
DEB_VERSION := $(shell dpkg-parsechangelog | egrep '^Version:' | cut -f 2 -d ' ')
|
|
|
|
|
2014-06-17 22:11:03 +01:00
|
|
|
%:
|
2020-03-30 16:11:23 +01:00
|
|
|
dh ${@} --with-python3
|
2019-02-27 17:12:14 +00:00
|
|
|
|
|
|
|
# Inject version number in the code
|
|
|
|
override_dh_installdeb:
|
|
|
|
dh_installdeb
|
|
|
|
for pkg in $$(dh_listpackages -i); do \
|
|
|
|
find debian/$$pkg -type f -exec sed -i -e s/__DEB_VERSION__/$(DEB_VERSION)/g {} +; \
|
|
|
|
done
|