[Pkg-voip-commits] [mediastreamer2] 02/09: Create the needed gitversion.h file
Dr. Tobias Quathamer
toddy at debian.org
Thu Nov 16 22:06:41 UTC 2017
This is an automated email from the git hooks/post-receive script.
toddy pushed a commit to branch master
in repository mediastreamer2.
commit 2f22d9e1d71d463f302c3cf5f48e1298a9ca8f36
Author: Dr. Tobias Quathamer <toddy at debian.org>
Date: Wed Nov 15 13:42:06 2017 +0100
Create the needed gitversion.h file
---
debian/rules | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/debian/rules b/debian/rules
index 7ad3c9a..45dab05 100755
--- a/debian/rules
+++ b/debian/rules
@@ -11,5 +11,13 @@ export DEB_BUILD_MAINT_OPTIONS = hardening=+all
# Upstream unconditionally sets CMAKE_INSTALL_RPATH. Make it ineffective by
# setting CMAKE_SKIP_RPATH
+# Also make sure that there is a gitversion.h file
override_dh_auto_configure:
- dh_auto_configure -- -DCMAKE_SKIP_RPATH=ON
+ echo "#define GIT_VERSION \"unknown\" " > include/gitversion.h
+ echo "#define MS2_GIT_VERSION \"unknown\" " >> include/gitversion.h
+ dh_auto_configure -O--buildsystem=cmake -- -DCMAKE_SKIP_RPATH=ON
+
+# Clean up the gitversion.h file
+override_dh_auto_clean:
+ rm -f include/gitversion.h
+ dh_auto_clean -O--buildsystem=cmake
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-voip/mediastreamer2.git
More information about the Pkg-voip-commits
mailing list