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
4
conf/project/Makefile
Normal file
4
conf/project/Makefile
Normal file
|
|
@ -0,0 +1,4 @@
|
||||||
|
TOPDIR = ../..
|
||||||
|
|
||||||
|
include $(TOPDIR)/make/proj.mk
|
||||||
|
include $(JWBDIR)/make/conf.mk
|
||||||
|
|
@ -262,6 +262,8 @@ CVS_RSH ?= /usr/bin/ssh
|
||||||
# ----- input dirs
|
# ----- input dirs
|
||||||
|
|
||||||
JW_PKG_DIR = $(JWBDIR)
|
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)
|
PROJECT_STEM = $(PROJECT)-$(DIST_VERSION)
|
||||||
|
|
||||||
# only works if checked out true to CVS, i.e. below proj
|
# only works if checked out true to CVS, i.e. below proj
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue