mirror of
ssh://git.janware.com/janware/proj/jw-pkg
synced 2026-04-24 17:23:36 +02:00
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>
14 lines
305 B
Makefile
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 $@
|