tarback/Makefile

11 lines
288 B
Makefile
Raw Normal View History

PLUGINS := tarback/*.sh
SCRIPT := tarback.sh
SCRIPT_NAME := $(SCRIPT:.sh=)
2023-02-17 02:35:13 +01:00
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 -T $(SCRIPT) $(PREFIX)/bin/$(SCRIPT_NAME)
2023-02-17 02:35:13 +01:00
.PHONY: install