mintmenu/debian/rules

14 lines
340 B
Plaintext
Raw Permalink Normal View History

2009-07-27 11:45:34 +01:00
#!/usr/bin/make -f
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
# 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