conf/project: Add directory and variables
Anticipating future usefulness, add a regular project configuration directory plus two variables pointing to it:
JW_PKG_CONF_BASE_DIR ?= $(firstword $(wildcard $(JW_PKG_DIR)/conf /etc/opt/jw-pkg)) JW_PKG_CONF_DIR ?= $(firstword $(wildcard $(JW_PKG_CONF_BASE_DIR)/project $(JW_PKG_CONF_BASE_DIR)))
Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
parent
d054e3c343
commit
99386d5492
2 changed files with 6 additions and 0 deletions
|
|
@ -262,6 +262,8 @@ CVS_RSH ?= /usr/bin/ssh
|
|||
# ----- input dirs
|
||||
|
||||
JW_PKG_DIR = $(JWBDIR)
|
||||
JW_PKG_CONF_BASE_DIR ?= $(firstword $(wildcard $(JW_PKG_DIR)/conf /etc/opt/jw-pkg))
|
||||
JW_PKG_CONF_DIR ?= $(firstword $(wildcard $(JW_PKG_CONF_BASE_DIR)/project $(JW_PKG_CONF_BASE_DIR)))
|
||||
PROJECT_STEM = $(PROJECT)-$(DIST_VERSION)
|
||||
|
||||
# only works if checked out true to CVS, i.e. below proj
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue