mirror of
ssh://git.janware.com/janware/proj/jw-pkg
synced 2026-04-24 17:23:36 +02:00
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>
This commit is contained in:
parent
98ad7442d9
commit
c5c621366b
2 changed files with 11 additions and 4 deletions
|
|
@ -1,7 +1,14 @@
|
|||
TOPDIR = ../..
|
||||
|
||||
EXE_PREFIX = $(ENV_PREFIX)/usr
|
||||
EXE_SH = jw-pkg
|
||||
TARGET_DIR = $(ENV_PREFIX)/usr/bin
|
||||
|
||||
include $(TOPDIR)/make/proj.mk
|
||||
include $(JWBDIR)/make/scripts.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 $@
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue