This should make it easier to see the application version in contrast to
the system modules version. We initialize this at build time from the
package version, and fallback to the module version if the application
has no usable version.
Change-Id: I4b4e1a926aea517b2b3b46261794e187af0c9865
(cherry picked from commit b90ca3f3ac)
mr9.5.7
parent
5baed04772
commit
bdc48b0f87
@ -1,7 +1,14 @@
|
||||
#!/usr/bin/make -f
|
||||
|
||||
include /usr/share/dpkg/pkg-info.mk
|
||||
|
||||
# Uncomment this to turn on verbose mode.
|
||||
# export DH_VERBOSE=1
|
||||
|
||||
%:
|
||||
dh "$@"
|
||||
|
||||
execute_after_dh_install:
|
||||
find debian/lib*-perl -name process.pl -print0 | \
|
||||
xargs -0 sed -i \
|
||||
-e 's/^our \$$VERSION = .*/our \$$VERSION = "$(DEB_VERSION)";/'
|
||||
|
||||
Loading…
Reference in new issue