Build and packaging library
  • Python 48.7%
  • Makefile 37.5%
  • Shell 13.8%
Find a file
Jan Lindemann 31108fc608 defs.mk: Allow INSTALL = $(SUDO) install

Running "make install" from an arbitrary source directory currently by default either installs to a user-accessible ENV_PREFIX, or, if DEVELOPMENT is set to false, tries to install into the system's root filesystem, but fails over permission errors. This was by design: To now, I considered trying the latter ill-conceived, because installing without package manager control bears the risk of leaving unversioned files in the system.

Actually, thinking again, during development this looks like a valid use case: Having run pkg-rebuild-reinstall before, installing from a source directory will leave a trace in the package manager's hash check output, will be handled during the next clean install, and might be a useful shortcut for trying things in the root file system.

So make this possible by:

$ DEVELOPMENT=false make install

Signed-off-by: Jan Lindemann <jan@janware.com>
2025-12-12 10:20:31 +01:00
bin bin, make, scripts: Re-add files necessary for packaging jw-build 2025-11-14 11:22:50 +01:00
make defs.mk: Allow INSTALL = $(SUDO) install 2025-12-12 10:20:31 +01:00
scripts pkg.sh build: Support -a / --include-vcs-files 2025-12-01 11:31:54 +01:00
src cmds.CmdBuild: import time 2025-11-28 20:18:52 +01:00
.gitignore Everywhere: Rename package "jw-build" to "jw-pkg" 2025-11-28 13:35:56 +01:00
HASH Release 1.0.0-147@suse-tumbleweed/x86_64 2025-11-29 13:54:24 +00:00
Makefile $(TOPDIR)/Makefile: Remove superfluous SUBDIRS 2025-11-14 13:39:52 +01:00
RELEASES Release 1.0.0-147@suse-tumbleweed/x86_64 2025-11-29 13:54:24 +00:00
VERSION Start version: 1.0.0-147 2025-11-29 13:53:59 +00:00