Improve Python config file template substitution #8
2 changed files with 5 additions and 0 deletions
conf/templates: Add subdir
Add $(TOPDIR)/conf/templates as a location for templates, i.e. input files to the CmdCreateFile template rendering command.
Signed-off-by: Jan Lindemann <jan@janware.com>
commit
7396794122
4
conf/templates/Makefile
Normal file
4
conf/templates/Makefile
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
TOPDIR = ../..
|
||||
|
||||
include $(TOPDIR)/make/proj.mk
|
||||
include $(JWBDIR)/make/dirs.mk
|
||||
|
|
@ -264,6 +264,7 @@ CVS_RSH ?= /usr/bin/ssh
|
|||
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)))
|
||||
JW_PKG_TMPL_DIR ?= $(JW_PKG_CONF_BASE_DIR)/templates
|
||||
PROJECT_STEM = $(PROJECT)-$(DIST_VERSION)
|
||||
|
||||
# only works if checked out true to CVS, i.e. below proj
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue