mirror of
ssh://git.janware.com/janware/proj/jw-pkg
synced 2026-04-25 09:35:54 +02:00
To remove redundancy, get-os.sh needs to be retired in favor of pkg.py distro info. It's needed in platform.mk, but the only definiton of JW_PKG_PY is in projects.mk, so move it, along with the variables essential for the command: include $(JWBDIR)/make/py-version.mk (defining PYTHON) JW_PKG_PY DEVELOPMENT VERSION_FILE Signed-off-by: Jan Lindemann <jan@janware.com>
13 lines
470 B
Makefile
13 lines
470 B
Makefile
# == Variables for inter-project-communication
|
|
|
|
include $(JWBDIR)/make/platform.mk
|
|
|
|
# -- Query the build system about other projects:
|
|
|
|
ifneq ($(TOPDIR),)
|
|
proj_query_cmd = $(JW_PKG_PY) projects
|
|
proj_query = $(shell $(proj_query_cmd) $(1))
|
|
proj_dir = $(call proj_query,proj-dir $(1))
|
|
htdocs_dir = $(call proj_query,htdocs-dir $(1))
|
|
tmpl_dir = $(call proj_query,tmpl-dir $(1))
|
|
endif
|