File: rules

package info (click to toggle)
virtualbox-ext-pack 7.2.6-1
  • links: PTS, VCS
  • area: contrib
  • in suites: sid
  • size: 176 kB
  • sloc: sh: 107; makefile: 13
file content (19 lines) | stat: -rwxr-xr-x 444 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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