mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-15 03:53:32 +01:00
make, scripts: Rename CVS_PROJ_DIR to PROJECTS_DIR
Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
parent
e827efadd5
commit
75bc87ad44
7 changed files with 12 additions and 12 deletions
|
|
@ -5,17 +5,17 @@ VERSION_FILE ?= $(firstword $(wildcard VERSION $(TOPDIR)/VERSION))
|
|||
DEVELOPMENT ?= $(shell grep -q 'dev' $(VERSION_FILE) && echo true)
|
||||
|
||||
# -- Conclude the build system's location:
|
||||
CVS_PROJ_DIR ?= $(TOPDIR)/..
|
||||
PROJECTS_DIR ?= $(TOPDIR)/..
|
||||
ifeq ($(DEVELOPMENT),true)
|
||||
PROJECTS_DIR ?= $(CVS_PROJ_DIR)
|
||||
PRJS_DIR ?= $(PROJECTS_DIR)
|
||||
else
|
||||
PROJECTS_DIR ?= /opt
|
||||
PRJS_DIR ?= /opt
|
||||
endif
|
||||
MOD_SCRIPT_DIR ?= $(firstword $(wildcard $(MODDIR)/scripts $(MODDIR)/bin))
|
||||
|
||||
# -- Query the build system about other projects:
|
||||
PYTHON ?= /usr/bin/python2
|
||||
proj_query_cmd = $(PYTHON) $(MOD_SCRIPT_DIR)/projects.py -p $(PROJECTS_DIR) -t $(TOPDIR) $(PROJECTS_PY_EXTRA_ARGS)
|
||||
proj_query_cmd = $(PYTHON) $(MOD_SCRIPT_DIR)/projects.py -p $(PRJS_DIR) -t $(TOPDIR) $(PROJECTS_PY_EXTRA_ARGS)
|
||||
proj_query = $(shell $(proj_query_cmd) $(1))
|
||||
proj_dir = $(call proj_query,proj-dir $(1))
|
||||
htdocs_dir = $(call proj_query,htdocs-dir $(1))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue