From e13103a6803eb18d9bde8e393cde98a4cc2a07b3 Mon Sep 17 00:00:00 2001 From: paulc Date: Tue, 15 Apr 2014 09:57:15 +0000 Subject: [PATCH] Added "yate-config --revision" and made version available in main and modules Makefile. git-svn-id: http://yate.null.ro/svn/yate/trunk@5822 acf43c95-373e-0410-b603-e72c3f656dc1 --- Makefile.in | 4 ++++ modules/Makefile.in | 4 ++++ yate-config.sh | 3 +++ 3 files changed, 11 insertions(+) diff --git a/Makefile.in b/Makefile.in index b0567cff..78f33767 100644 --- a/Makefile.in +++ b/Makefile.in @@ -7,6 +7,10 @@ DESTDIR := # override DEBUG at compile time to enable full debug or remove it all DEBUG := +YATE_VERSION := @PACKAGE_VERSION@ +YATE_RELEASE := @PACKAGE_STATUS@@PACKAGE_RELEASE@ +YATE_REVISION:= @PACKAGE_REVISION@ + CXX := @CXX@ -Wall SED := sed DEFS := diff --git a/modules/Makefile.in b/modules/Makefile.in index 9262e7cf..ca65a5a3 100644 --- a/modules/Makefile.in +++ b/modules/Makefile.in @@ -7,6 +7,10 @@ DESTDIR := # override DEBUG at compile time to enable full debug or remove it all DEBUG := +YATE_VERSION := @PACKAGE_VERSION@ +YATE_RELEASE := @PACKAGE_STATUS@@PACKAGE_RELEASE@ +YATE_REVISION:= @PACKAGE_REVISION@ + CC := @CC@ -Wall CXX := @CXX@ -Wall MOC := @QT4_MOC@ diff --git a/yate-config.sh b/yate-config.sh index 719aeb76..b5b244eb 100755 --- a/yate-config.sh +++ b/yate-config.sh @@ -106,6 +106,9 @@ while [ "$#" != 0 ]; do --release) echo "@PACKAGE_STATUS@@PACKAGE_RELEASE@" ;; + --revision) + echo "@PACKAGE_REVISION@" + ;; --cflags) echo "$s1" ;;