Skip to content

Commit

Permalink
Only making DESTDIR if the variable is explicitly set.
Browse files Browse the repository at this point in the history
  • Loading branch information
dpayne committed Jul 12, 2018
1 parent 7e7ee0a commit 616e7bf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Makefile
Expand Up @@ -211,8 +211,9 @@ uninstall:
@rm -f $(PREFIX)/safe_fifo

install:
ifdef DESTDIR
mkdir -p $(DESTDIR)$(PREFIX)/bin
#FIXME: "vis" binary is created by default
endif
cp $(BUILD_DIR)/vis $(DESTDIR)$(PREFIX)/bin/$(TARGET)
# cp bin/safe_fifo "$(PREFIX)"

Expand Down

0 comments on commit 616e7bf

Please sign in to comment.