We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
make install
1 parent 7691d81 commit 41801ddCopy full SHA for 41801dd
1 file changed
Makefile
@@ -46,8 +46,6 @@ export prefix bindir sharedir
46
47
CC = cc
48
RM = rm -rf
49
-PREFIX = /usr/local
50
-BINDIR = $(PREFIX)/bin
51
52
ifeq ($(uname_S),Linux)
53
ALL_LDFLAGS += -lrt
@@ -194,10 +192,10 @@ version.h: FORCE
194
192
@./gen-version.sh
195
193
196
install: all
197
- install -p -m 755 dnscrypt-wrapper $(BINDIR)
+ install -D -p -m 755 dnscrypt-wrapper $(bindir)
198
199
uninstall:
200
- $(RM) $(BINDIR)/dnscrypt-wrapper
+ $(RM) $(bindir)/dnscrypt-wrapper
201
202
clean:
203
$(RM) dnscrypt-wrapper
0 commit comments