LuCI: Display the proper LuCI git branch in GUI
authorHannu Nyman <hannu.nyman@iki.fi>
Thu, 10 Mar 2016 17:50:58 +0000 (19:50 +0200)
committerHannu Nyman <hannu.nyman@iki.fi>
Fri, 11 Mar 2016 12:30:10 +0000 (14:30 +0200)
commitb83942a5967bb0a94afa2980d4cc6ee28ddda79d
treea136a0e3a2d458e588df0b92d949ef5d8600150e
parente2f9172b211e9f7fddd989f8d93f0d37dad47d92
LuCI: Display the proper LuCI git branch in GUI

Adjust luci.mk and luci-base to find out correctly if Luci is built
from master or from a branch. Display that value in the footer and
the overview page.

* Evaluate the git branch in luci.mk and pass that to LuCI submodules
  as a make variable. Use branch name, ignore tags.
* Deprecate svn detection in luci-base's mkversion.sh that generates
  version.lua. Simply use the value passed by make.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
(cherry picked from commit 7553654bb10af9206cff9837a485b828d1998213)
luci.mk
modules/luci-base/src/Makefile
modules/luci-base/src/mkversion.sh