diff options
Diffstat (limited to 'debian/rules')
-rwxr-xr-x | debian/rules | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..579e4ba --- /dev/null +++ b/debian/rules @@ -0,0 +1,19 @@ +#!/usr/bin/make -f + +include /usr/share/dpkg/default.mk +VERSION ?= $(DEB_VERSION_UPSTREAM) + +%: + dh $@ + +override_dh_clean: + debconf-updatepo + dh_clean debian/postinst + +override_dh_installdeb: + sed 's/#VERSION#/$(DEB_VERSION_UPSTREAM)/g' debian/postinst.in > debian/postinst + dh_installdeb + +override_dh_gencontrol: + dh_gencontrol -- \ + -Vvirtualbox:Version=$(DEB_VERSION_UPSTREAM)-dfsg-0~ -Vvirtualbox:nextVersion=$(DEB_VERSION_UPSTREAM)-dfsg-z |