PLUGINS := tarback/*.sh SCRIPT := tarback.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/ .PHONY: install