projects
/
solvespace.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1219813
)
d/rules: Specify package version to CMake.
author
Ryan Pavlik
<ryan.pavlik@collabora.com>
Tue, 19 Jan 2021 19:55:20 +0000
(13:55 -0600)
committer
Ryan Pavlik
<ryan.pavlik@collabora.com>
Thu, 21 Jan 2021 15:58:29 +0000
(09:58 -0600)
debian/rules
patch
|
blob
|
history
diff --git
a/debian/rules
b/debian/rules
index 08f0acf227abc6522e2294d98ab9281e51b36746..c985337587fb227dfb159aea7e84e2eb752f3760 100755
(executable)
--- a/
debian/rules
+++ b/
debian/rules
@@
-9,3
+9,9
@@
endif
%:
dh $@
+
+# Tell CMake what the package version will be, to embed in the version string.
+# We do this for upstream's benefit, in lieu of including a git commit hash.
+override_dh_auto_configure:
+ dh_auto_configure -- \
+ -DDEBVERSION=$(shell dpkg-parsechangelog --show-field version)