10 lines
227 B
Makefile
10 lines
227 B
Makefile
SCRIPT := gre-on-wg.sh
|
|
SCRIPT_NAME := $(SCRIPT:.sh=)
|
|
PREFIX ?= /usr/local
|
|
|
|
install: install-bin
|
|
|
|
install-bin: $(SCRIPT)
|
|
install -D -m 0755 -o root -g root -T $(SCRIPT) $(PREFIX)/bin/$(SCRIPT_NAME)
|
|
|
|
.PHONY: install install-bin
|