jw-pkg/scripts/usr-bin/Makefile
Jan Lindemann c5c621366b scripts/usr-bin: scripts.mk -> std-targets.mk
jw-pkg is copied into $(TOPDIR)/bin during build, that's wrong.
Write a rule precisely targeted at installing /usr/bin/jw-pkg, and
cut all the scripts.mk machinery.

Also, make jw-pkg a relative link to avoid the respective RPM
warning.

Signed-off-by: Jan Lindemann <jan@janware.com>
2026-04-08 16:47:00 +02:00

14 lines
305 B
Makefile

TOPDIR = ../..
TARGET_DIR = $(ENV_PREFIX)/usr/bin
include $(TOPDIR)/make/proj.mk
include $(JWBDIR)/make/defs.mk
include $(JWBDIR)/make/std-targets.mk
all:
install: install-link.done
install-link.done:
$(INSTALL) -p -D -m $(EXEMODE) -o $(EXEOWNER) -g $(EXEGROUP) jw-pkg $(TARGET_DIR)/jw-pkg
touch $@