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
b368f3265c
commit
60ddc971d2
8 changed files with 9 additions and 5 deletions
|
|
@ -8,7 +8,7 @@ SRC_H += $(PROJ_H) $(wildcard $(HDRDIR_SCOPE_SUFFIX)/*.h)
|
|||
# mandatory targets
|
||||
all: $(PROJ_H)
|
||||
clean: clean.include
|
||||
install: install_HDR
|
||||
install: install_dir_PREFIX install_HDR
|
||||
|
||||
# not wäry naaice
|
||||
ifneq ($(HDRDIR_SCOPE_SUFFIX),)
|
||||
|
|
|
|||
Loading…
Reference in a new issue