Skip to content

Commit 86cb0d6

Browse files
authored
Merge pull request #17 from Nauxuron/master
Improve DESTDIR support in Makefile
2 parents d8a6aa9 + 3b4e835 commit 86cb0d6

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

Makefile

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
1-
PREFIX := /etc/openvpn
2-
DESTDIR := $(PREFIX)/scripts
1+
PREFIX ?= /etc/openvpn/scripts
32

43
SRC = update-systemd-resolved
5-
DEST = $(DESTDIR)/$(SRC)
4+
DEST = $(DESTDIR)$(PREFIX)/$(SRC)
65

76
.PHONY: all install info
87

0 commit comments

Comments
 (0)