mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-15 12:03:31 +01:00
defs-dev.mk, defs-dist.mk, scripts-targets.mk: Add INSTALL_HOME_BIN_WRAPPERS
This commit is contained in:
parent
95c0112176
commit
c87430e099
3 changed files with 6 additions and 2 deletions
|
|
@ -202,4 +202,4 @@ USE_COMPILER_DEBUG_OPTS ?= true
|
||||||
#USE_GLIB ?= true
|
#USE_GLIB ?= true
|
||||||
#USE_ASSERTIONS ?= false
|
#USE_ASSERTIONS ?= false
|
||||||
BREAK_ABI ?= true
|
BREAK_ABI ?= true
|
||||||
|
#INSTALL_HOME_BIN_WRAPPERS ?= true
|
||||||
|
|
|
||||||
|
|
@ -203,4 +203,4 @@ USE_COMPILER_DEBUG_OPTS ?= true
|
||||||
#USE_GLIB ?= true
|
#USE_GLIB ?= true
|
||||||
USE_ASSERTIONS ?= false
|
USE_ASSERTIONS ?= false
|
||||||
BREAK_ABI ?= false
|
BREAK_ABI ?= false
|
||||||
|
INSTALL_HOME_BIN_WRAPPERS ?= false
|
||||||
|
|
|
||||||
|
|
@ -3,6 +3,10 @@ all: build_SCRIPT build_CGI
|
||||||
install: install_INIT install_SCRIPT install_CGI
|
install: install_INIT install_SCRIPT install_CGI
|
||||||
clean:allclean localclean doneclean textclean clean.init
|
clean:allclean localclean doneclean textclean clean.init
|
||||||
|
|
||||||
|
ifeq ($(INSTALL_HOME_BIN_WRAPPERS),true)
|
||||||
|
install: install-home-bin
|
||||||
|
endif
|
||||||
|
|
||||||
HOME_BIN_EXE_SH = $(addprefix $(HOME)/bin/, $(notdir $(EXE_SH)))
|
HOME_BIN_EXE_SH = $(addprefix $(HOME)/bin/, $(notdir $(EXE_SH)))
|
||||||
$(HOME)/bin/%: %
|
$(HOME)/bin/%: %
|
||||||
echo -e "#!/bin/sh\n. $(shell pwd)/$<" '"$$@"' > $@.tmp
|
echo -e "#!/bin/sh\n. $(shell pwd)/$<" '"$$@"' > $@.tmp
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue