conf / scripts: Fix unprivileged "make install" #71

Merged
Jan Lindemann merged 3 commits from jan/feature/20260818-conf-scripts-fix-unprivileged-make-install into master 2026-08-18 17:38:18 +02:00 AGit
2 changed files with 5 additions and 5 deletions
Showing only changes of commit 6da6ac2505 - Show all commits

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>
Jan Lindemann 2026-08-18 15:39:48 +02:00
Signed by: Jan Lindemann
GPG key ID: 3750640C9E25DD61

View file

@ -1,8 +1,8 @@
TOPDIR = ../..
TOPDIR = ../..
INSTALL_CFGDIR = $(ENV_PREFIX)/usr/share/bash-completion/completions
LOCAL_CFG = $(filter-out Makefile,$(wildcard *))
PACKAGE_INSTALL_DIR = false
INSTALL_CFGDIR = $(ROOT_PREFIX)/usr/share/bash-completion/completions
LOCAL_CFG = $(filter-out Makefile,$(wildcard *))
PACKAGE_INSTALL_DIR = false
include $(TOPDIR)/make/proj.mk
include $(JWBDIR)/make/conf.mk

View file

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