[Pkg-phototools-devel] Bug#839372: luminance-hdr: FTBFS: Option release requires an argument
Chris Lamb
lamby at debian.org
Sat Oct 1 14:32:16 UTC 2016
tags 839372 + patch
thanks
Patch attached.
Regards,
--
,''`.
: :' : Chris Lamb
`. `'` lamby at debian.org / chris-lamb.co.uk
`-
-------------- next part --------------
diff --git a/debian/rules b/debian/rules
index e1843b8..d931f1e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,6 +4,7 @@
NOT_NEEDED = AUTHORS INSTALL LICENSE README Changelog
DEB_DESTDIR = $(CURDIR)/debian/luminance-hdr
MANPAGE = debian/luminance-hdr.1
+VERSION = $(shell dpkg-parsechangelog --show-field=Version)
export DEB_BUILD_MAINT_OPTIONS=hardening=+relro,+bindnow
export DEB_LDFLAGS_MAINT_APPEND=-Wl,--as-needed
@@ -27,7 +28,7 @@ override_dh_auto_build:
dh_auto_build --verbose --parallel
# Build the minimal manpage:
pod2man --center='Minimal luminance-hdr manpage' \
- --release='' \
+ --release='$(VERSION)' \
debian/luminance-hdr.pod > $(MANPAGE)
override_dh_auto_install:
More information about the Pkg-phototools-devel
mailing list