make: Support INSTALL_PREFIXDIR
During "make install", the packaging machinery should run "$(LOG_INSTALL) -D /opt/<pkg>" but runs "mkdir -p /opt/<pkg>" instead. As a consequence, the created directory is not owned by any of the created packages. This commit fixes that by introducing INSTALL_PREFIXDIR and installing it like all other directories. Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
parent
281a8f383e
commit
ddf310d3ad
8 changed files with 9 additions and 5 deletions
|
|
@ -307,6 +307,8 @@ LOCAL_MKFILES ?= $(wildcard GNUmakefile makefile Makefile *.mk)
|
|||
LOG_QUAL_PREFIX ?= $(LOGID):
|
||||
|
||||
# -- standard dirs and files for build and install
|
||||
INSTALLATION_FILE_TYPES += PREFIX
|
||||
|
||||
# -- CFG
|
||||
INSTALLATION_FILE_TYPES += CFG
|
||||
CONFIG_FILE ?= $(CONFIG_DIR)/$(PROJECT).conf
|
||||
|
|
|
|||
Loading…
Reference in a new issue