mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-15 12:03:31 +01:00
scripts.mk: Add target install-home-bin
This commit is contained in:
parent
756611a55e
commit
eb0dd22785
1 changed files with 10 additions and 0 deletions
|
|
@ -8,3 +8,13 @@ include $(MODDIR)/make/defs.mk
|
|||
include $(MODDIR)/make/rules.mk
|
||||
clean:allclean localclean doneclean textclean
|
||||
install:$(INSTALLED_EXE_SH)
|
||||
|
||||
|
||||
HOME_BIN_EXE_SH = $(addprefix $(HOME)/bin/, $(notdir $(LOCAL_EXE_SH)))
|
||||
$(HOME)/bin/%: %
|
||||
echo -e "#!/bin/sh\n$(shell pwd)/$< $$"'@' > $@.tmp
|
||||
chmod 755 $@.tmp
|
||||
mv $@.tmp $@
|
||||
|
||||
install-home-bin: $(HOME_BIN_EXE_SH)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue