mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-15 03:53:32 +01:00
scripts-targets.mk: Add file
This commit is contained in:
parent
e23e9a90df
commit
3999126b09
1 changed files with 16 additions and 0 deletions
16
make/scripts-targets.mk
Normal file
16
make/scripts-targets.mk
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
all.done: $(BUILD_SCRIPT)
|
||||
all: build_SCRIPT build_CGI
|
||||
install: install_INIT install_SCRIPT install_CGI
|
||||
clean:allclean localclean doneclean textclean clean.init
|
||||
|
||||
HOME_BIN_EXE_SH = $(addprefix $(HOME)/bin/, $(notdir $(EXE_SH)))
|
||||
$(HOME)/bin/%: %
|
||||
echo -e "#!/bin/sh\n. $(shell pwd)/$<" '"$$@"' > $@.tmp
|
||||
chmod 755 $@.tmp
|
||||
mv $@.tmp $@
|
||||
|
||||
install-home-bin: $(HOME_BIN_EXE_SH)
|
||||
|
||||
clean.init:
|
||||
rm -f $(_INIT_SCRIPTS)
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue