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)
mr7.5.4
parent
4a4d3dc945
commit
2633c76d26
@ -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