Update passing revision to configure
authorBalint Reczey <balint@balintreczey.hu>
Thu, 25 Jun 2015 23:53:21 +0000 (16:53 -0700)
committerBalint Reczey <balint@balintreczey.hu>
Fri, 26 Jun 2015 03:20:09 +0000 (20:20 -0700)
debian/rules

index ecb59acb633e1c72b8fa90b5824e2366088c1b59..3672cb0349d7a518d8f53574b1c10d5165add7f3 100755 (executable)
@@ -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