[luci] [LuCI] #138: OpenWRT Makefile problem with DUMP=1
LuciTrac
trac at luci.subsignal.org
Wed Jul 21 14:18:58 CEST 2010
#138: OpenWRT Makefile problem with DUMP=1
-----------------------+----------------------------------------------------
Reporter: reporter | Owner:
Type: defect | Status: new
Priority: minor | Milestone:
Component: LuCI Base | Keywords:
-----------------------+----------------------------------------------------
There is a problem when the packageinfo is generated (DUMP is set to 1).
In this case PKG_VERSION is not set and thus the tmp/.packageinfo file
contains an invalid entry.
luci/luci/Makefile should be changed:
ifeq ($(DUMP),)
PKG_REV:=$(shell LC_ALL=C svn info $(CURDIR) | sed -ne 's/^Revision:
//p')
PKG_VERSION:=0.9+svn$(PKG_REV)
else
PKG_VERSION:=...something...
endif
PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
--
Ticket URL: <http://luci.subsignal.org/ticket/138>
LuCI <http://luci.subsignal.org>
LuCI - Lua Configuration Interface
More information about the luci
mailing list