Update makefile, dont install with .sh suffix.
This commit is contained in:
parent
4cf714ce5c
commit
0e1baf4255
1 changed files with 4 additions and 3 deletions
7
Makefile
7
Makefile
|
@ -1,9 +1,10 @@
|
|||
PLUGINS := tarback/*.sh
|
||||
SCRIPT := tarback.sh
|
||||
PLUGINS := tarback/*.sh
|
||||
SCRIPT := tarback.sh
|
||||
SCRIPT_NAME := $(SCRIPT:.sh=)
|
||||
PREFIX ?= /usr/local
|
||||
|
||||
install: $(PLUGINS)
|
||||
install -D -t $(PREFIX)/share/tarback -m 0644 -o root -g root $^
|
||||
install -D -m 0755 -o root -g root $(SCRIPT) $(PREFIX)/bin/
|
||||
install -D -m 0755 -o root -g root -T $(SCRIPT) $(PREFIX)/bin/$(SCRIPT_NAME)
|
||||
|
||||
.PHONY: install
|
||||
|
|
Loading…
Reference in a new issue