conf / scripts: Fix unprivileged "make install"
All checks were successful
CI / Packaging - Kali Linux (pull_request) Successful in 3m33s
CI / Packaging - OpenSUSE Tumbleweed (pull_request) Successful in 3m46s
CI / Packaging test (pull_request) Successful in 0s
CI / Packaging - Kali Linux (push) Successful in 3m36s
CI / Packaging - OpenSUSE Tumbleweed (push) Successful in 3m46s
CI / Packaging test (push) Successful in 0s

Unprivileged "make install" currently returns an error. That looks bad.

It actually is not a real problem, because unprivileged "make install"
installs files into locations that are good for nothing, in the sense
that they don't constitute a meaningful or usable hierarchy of installed
files. Debugging / inspecting the install machinery itself is a valid
use case, though, and it's easier to explain to the unsuspecting user
that unprivileged installation is something akin to shooting range
training than why "make install" outright errors out, so fix the error
messages.

Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
Jan Lindemann 2026-08-18 15:39:48 +02:00
commit 6da6ac2505
Signed by: Jan Lindemann
GPG key ID: 3750640C9E25DD61
2 changed files with 5 additions and 5 deletions

View file

@ -1,6 +1,6 @@
TOPDIR = ../.. TOPDIR = ../..
INSTALL_CFGDIR = $(ENV_PREFIX)/usr/share/bash-completion/completions INSTALL_CFGDIR = $(ROOT_PREFIX)/usr/share/bash-completion/completions
LOCAL_CFG = $(filter-out Makefile,$(wildcard *)) LOCAL_CFG = $(filter-out Makefile,$(wildcard *))
PACKAGE_INSTALL_DIR = false PACKAGE_INSTALL_DIR = false

View file

@ -1,6 +1,6 @@
TOPDIR = ../.. TOPDIR = ../..
TARGET_DIR = $(ENV_PREFIX)/usr/bin TARGET_DIR = $(ROOT_PREFIX)/usr/bin
include $(TOPDIR)/make/proj.mk include $(TOPDIR)/make/proj.mk
include $(JWBDIR)/make/defs.mk include $(JWBDIR)/make/defs.mk