From 59420627b6b7f1d08e9977dc88070b55c8ef6dba Mon Sep 17 00:00:00 2001 From: Balint Reczey Date: Thu, 25 Jun 2015 16:53:21 -0700 Subject: [PATCH] Update passing revision to configure --- debian/rules | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/debian/rules b/debian/rules index ecb59ac..3672cb0 100755 --- a/debian/rules +++ b/debian/rules @@ -3,7 +3,7 @@ export REPACK_SH=$(CURDIR)/debian/repack.sh export GPAC_BASE_VER ?= $(shell dpkg-parsechangelog | sed -n 's/Version: \([0-9.]*\)\+.*/\1/p') -export GPAC_SVN_REVISION ?= $(shell dpkg-parsechangelog | grep Version | sed 's/Version:.*+svn\([0-9]\+\).*/\1/') +export GPAC_GIT_REVISION ?= $(shell dpkg-parsechangelog | grep Version | sed 's/Version:.*+svn\([0-9]\+\).*/\1/') ifneq (,$(filter noopt,$(DEB_BUILD_OPTIONS))) DEB_CONFIGURE_EXTRA_FLAGS = --disable-opt @@ -22,7 +22,7 @@ override_dh_auto_configure: --enable-debug \ --disable-ssl \ $(DEB_EXTRA_CONFIGURE_FLAGS) - echo "#define GPAC_SVN_REVISION \"$(GPAC_SVN_REVISION)\"" > include/gpac/revision.h + echo "#define GPAC_GIT_REVISION \"$(GPAC_GIT_REVISION)\"" > include/gpac/revision.h # workaround broken libav detection sed -i 's,CONFIG_LIBAV=no,CONFIG_LIBAV=yes,' config.mak -- 2.30.2