summaryrefslogtreecommitdiff
path: root/makeopts.in
diff options
context:
space:
mode:
authorRichard Mudgett <rmudgett@digium.com>2012-10-18 20:13:17 +0000
committerRichard Mudgett <rmudgett@digium.com>2012-10-18 20:13:17 +0000
commitb0c3d288f2fde4706c16392d1774c83420575579 (patch)
tree0cb99085ba11dcd456d10feb9e8ecb45dc169cf3 /makeopts.in
parent6c20cf2d8ac34f7f336565118c2e88e238c0b2d0 (diff)
build_tools: Allow Asterisk to report git SHAs in version string.
Make git more attractive for managing work-in-progress. Especially convenient when a potential patch set needs to be tested on multiple platforms since one can use git to keep all the test environments in sync independent of a subversion server. Now the Asterisk version will show the exact git SHA5 that was used when building (still appended by "M" if there are local modifications) from a git clone of the Asterisk repository so the developer can more easily know what is actually under test. You will now get this: $ asterisk -V Asterisk GIT-1698298 Instead of this: $ asterisk -V Asterisk UNKNOWN__and_probably_unsupported This has zero impact for those not using git with the exception of an extra test in the configure script to gather git's path. This is necessary to prevent "sudo make install" from failing since git may not be in the path in make's shell environment. (closes issue ASTERISK-20483) Reported by: Shaun Ruffell Patches: 0001-build_tools-Allow-Asterisk-to-report-git-SHAs-in-ver.patch (license #5417) patch uploaded by Shaun Ruffell Modified ........ Merged revisions 375189 from http://svn.asterisk.org/svn/asterisk/branches/1.8 ........ Merged revisions 375190 from http://svn.asterisk.org/svn/asterisk/branches/10 ........ Merged revisions 375191 from http://svn.asterisk.org/svn/asterisk/branches/11 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@375192 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'makeopts.in')
-rw-r--r--makeopts.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/makeopts.in b/makeopts.in
index 89873c1c0..01cc70790 100644
--- a/makeopts.in
+++ b/makeopts.in
@@ -37,6 +37,7 @@ MD5=@MD5@
SHA1SUM=@SHA1SUM@
OPENSSL=@OPENSSL@
LDCONFIG=@LDCONFIG@
+GIT=@GIT@
BUILD_PLATFORM=@BUILD_PLATFORM@
BUILD_CPU=@BUILD_CPU@