mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-15 03:53:32 +01:00
defs.mk: Fix commit 6fc4125
Commit 6fc4125 introduced broken installation paths if PROJECT was auto-detected. It included the version. Also include *.ini into LOCAL_CFG by default. Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
parent
522eb228ce
commit
bcebe4dbd3
1 changed files with 2 additions and 2 deletions
|
|
@ -50,7 +50,7 @@ endif
|
|||
CVSTOPDIR ?= $(PROJECTS_DIR)/..
|
||||
|
||||
ifeq ($(PROJECT),)
|
||||
PROJECT := $(patsubst $(FLAVOUR_PREFIX)%,%,$(notdir $(realpath $(TOPDIR))))
|
||||
PROJECT := $(shell echo $(patsubst $(FLAVOUR_PREFIX)%,%,$(notdir $(realpath $(TOPDIR)))) | $(SED) 's/-[0-9].*//')
|
||||
endif
|
||||
|
||||
GET_OS_SH ?= /bin/bash $(MOD_SCRIPT_DIR)/get-os.sh
|
||||
|
|
@ -390,7 +390,7 @@ INSTALL_CFGDIR ?= $(CONFIG_DIR)
|
|||
else
|
||||
INSTALL_CFGDIR ?= $(CONFIG_DIR)/$(CONFIG_SUBDIR)
|
||||
endif
|
||||
LOCAL_CFG ?= $(filter-out %.site.conf, $(filter-out rsyslog-%, $(wildcard *.conf *.xml *.bprof *.jw-tmpl))) $(LOCAL_EXTRA_CFG)
|
||||
LOCAL_CFG ?= $(filter-out %.site.conf, $(filter-out rsyslog-%, $(wildcard *.conf *.xml *.bprof *.jw-tmpl *.ini))) $(LOCAL_EXTRA_CFG)
|
||||
INSTALLED_CFG ?= $(addprefix $(INSTALL_CFGDIR)/,$(LOCAL_CFG))
|
||||
|
||||
# -- SYSCFG
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue