diff options
author | 2016-04-21 15:44:46 +0200 | |
---|---|---|
committer | 2016-04-21 15:50:15 +0200 | |
commit | 0d980951c9dd3234d693b1ff5bb554ef1ca2ae5c (patch) | |
tree | 35cc738fa1a7c0c97c53752eddce97c6d508570b /scripts/genie.lua | |
parent | f5aa86dfc67b045cdf5044e0e38c369a98e06ca6 (diff) |
set GIT_VERSION only where it is used (nw)
Diffstat (limited to 'scripts/genie.lua')
-rw-r--r-- | scripts/genie.lua | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/scripts/genie.lua b/scripts/genie.lua index 8b7f32703c3..f290dfde9e9 100644 --- a/scripts/genie.lua +++ b/scripts/genie.lua @@ -520,17 +520,6 @@ if (_OPTIONS["SOURCES"] == nil) then dofile (path.join("target", _OPTIONS["target"],_OPTIONS["subtarget"] .. ".lua")) end - -if _OPTIONS["IGNORE_GIT"]~="1" then - GIT_VERSION = backtick( "git describe" ) - local p = string.find(GIT_VERSION, '-', 1) - if (p~=nil) then - defines { - "GIT_VERSION=" .. string.sub(GIT_VERSION,p+1) - } - end -end - configuration { "gmake" } flags { "SingleOutputDir", |