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:
Jan Lindemann 2026-09-06 21:43:17 +02:00
commit ddf310d3ad
Signed by: Jan Lindemann
GPG key ID: 3750640C9E25DD61
8 changed files with 9 additions and 5 deletions

View file

@ -1,5 +1,5 @@
all: build_EXE build_CGI
install: install_files_INIT install_EXE install_files_CGI install_files_SYSCFG
install: install_dir_PREFIX install_files_INIT install_EXE install_files_CGI install_files_SYSCFG
clean:allclean localclean doneclean textclean clean.init
test: all