Commit 3d8103b2 authored by Cédric Boutillier's avatar Cédric Boutillier

debian/rules: determine from changelog the name of -dbg package

parent 89381e55
#!/usr/bin/make -f
UPSTREAM_VERSION = $(shell dpkg-parsechangelog | awk '{ if ($$1 == "Version:") { print($$2) } }' | cut -d - -f 1)
DPKG_EXPORT_BUILDFLAGS = 1
include /usr/share/dpkg/buildflags.mk
......@@ -7,4 +9,4 @@ include /usr/share/dpkg/buildflags.mk
dh $@ --with autoreconf
override_dh_strip:
dh_strip --dbg-package=libm4rie-0.0.20130416-dbg
dh_strip --dbg-package=libm4rie-0.0.$(UPSTREAM_VERSION)-dbg
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment