jw-pkg/make/projects.mk

13 lines
470 B
Makefile
Raw Normal View History

# == 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