Skip to content

Commit

Permalink
fix make install
Browse files Browse the repository at this point in the history
  • Loading branch information
cofyc committed Jan 5, 2015
1 parent 7691d81 commit 41801dd
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,6 @@ export prefix bindir sharedir

CC = cc
RM = rm -rf
PREFIX = /usr/local
BINDIR = $(PREFIX)/bin

ifeq ($(uname_S),Linux)
ALL_LDFLAGS += -lrt
Expand Down Expand Up @@ -194,10 +192,10 @@ version.h: FORCE
@./gen-version.sh

install: all
install -p -m 755 dnscrypt-wrapper $(BINDIR)
install -D -p -m 755 dnscrypt-wrapper $(bindir)

uninstall:
$(RM) $(BINDIR)/dnscrypt-wrapper
$(RM) $(bindir)/dnscrypt-wrapper

clean:
$(RM) dnscrypt-wrapper
Expand Down

0 comments on commit 41801dd

Please sign in to comment.