Skip to content

Commit

Permalink
update Makefile: change install instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
sinetoami committed Oct 25, 2018
1 parent 763465f commit 6c9623c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
PREFIX ?= /usr/local
DESTDIR=

.PHONY: all
all:
Expand All @@ -15,8 +16,8 @@ clean:

.PHONY: install
install:
cp vpsm $(PREFIX)/bin/vpsm
cp man/vpsm.1 $(PREFIX)/share/man/man1/vpsm.1
install -Dm4755 vpsm $(DESTDIR)$(PREFIX)/bin/vpsm
install -Dm644 man/vpsm.1 $(DESTDIR)/$(PREFIX)/share/man/man1/vpsm.1

.PHONY: uninstall
uninstall:
Expand Down

0 comments on commit 6c9623c

Please sign in to comment.