Skip to content

Commit

Permalink
Makefile: Beautify DESTDIR/PREFIX usage
Browse files Browse the repository at this point in the history
Avoid triple-slashes in install path.
  • Loading branch information
lynix committed Apr 12, 2019
1 parent 87b1e31 commit 35cbd07
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
DESTDIR ?= /
DESTDIR ?=
PREFIX ?= /usr

install:
install -D -m 755 checkrun.sh $(DESTDIR)/$(PREFIX)/bin/checkrun
install -D -m 755 checkrun.sh $(DESTDIR)$(PREFIX)/bin/checkrun

.PHONY: install

0 comments on commit 35cbd07

Please sign in to comment.