mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-15 12:03:31 +01:00
projects.py: Move bulk of code into module
Move nearly all of projects.py into src/python/jw/build/App.py. The plan is to split the script into parts and import them. Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
parent
7a315442d4
commit
aa3e2efd84
10 changed files with 1033 additions and 1012 deletions
|
|
@ -30,7 +30,7 @@ endif
|
|||
include $(JWBDIR)/make/py-version.mk
|
||||
|
||||
ifneq ($(TOPDIR),)
|
||||
proj_query_cmd = $(PYTHON) $(JWB_SCRIPT_DIR)/projects.py -p $(PROJECTS_DIR) -t $(TOPDIR) $(PROJECTS_PY_EXTRA_ARGS)
|
||||
proj_query_cmd = PYTHONPATH=$(JWBDIR)/src/python $(PYTHON) $(JWB_SCRIPT_DIR)/projects.py -p $(PROJECTS_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