diff options
| author | Steve Langasek <vorlon@debian.org> | 2017-04-14 21:44:06 +0000 |
|---|---|---|
| committer | Steve McIntyre <steve@einval.com> | 2019-03-06 21:15:15 +0000 |
| commit | bf3018eb1399f512672127987fbc134e898d3102 (patch) | |
| tree | 7d6f95ae8a61bb363e67e3001b7f8bfec86dfa60 /debian/rules | |
| download | shim-signed-bf3018eb1399f512672127987fbc134e898d3102.tar.gz shim-signed-bf3018eb1399f512672127987fbc134e898d3102.zip | |
Import Debian version 1.28debian/1.28
shim-signed (1.28) unstable; urgency=medium
* Initial Debian upload, based on Ubuntu package.
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..418ca9c --- /dev/null +++ b/debian/rules @@ -0,0 +1,19 @@ +#! /usr/bin/make -f + +VERSION := $(shell LC_ALL=C dpkg-parsechangelog | grep ^Version: | cut -d ' ' -f 2) +SHIM_VERSION := $(shell dpkg-query -f '$${Version}\n' -W shim) + +%: + dh $@ + +docdir := debian/shim-signed/usr/share/doc/shim-signed + +override_dh_installchangelogs: + dh_installchangelogs + # Quieten lintian, which otherwise gets confused by our odd version + # number. + ln $(docdir)/changelog $(docdir)/changelog.Debian + +override_dh_gencontrol: + dh_gencontrol -- -v$(VERSION)+$(SHIM_VERSION) \ + -Vshim:Version=$(SHIM_VERSION) |
