Skip to content

Commit

Permalink
Makefile had a type too...
Browse files Browse the repository at this point in the history
  • Loading branch information
primis committed Jan 4, 2017
1 parent b96cf86 commit 7623326
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 @@
PREFIX ?= /usr/local
BASH_COMPLETION_DIR := $(shell pkg-config --variable=completionsdir bash-completion)
# pkg-config adds a space for some reason, we have to strip it off.
BASH_COMPLETION_DIR := $(strip BASH_COMPLETION_DIR)
BASH_COMPLETION_DIR := $(strip $(BASH_COMPLETION_DIR))
USERDIR ?= $(HOME)

install:
Expand All @@ -13,7 +13,7 @@ install:
install -m777 -D config.example $(USERDIR)/.config/notes/config.example
install -D notes.1 $(PREFIX)/share/man/man1/notes.1
mandb 1>/dev/null
unintstall:
uninstall:
rm -f $(PREFIX)/bin/notes
rm -f $(PREFIX)/share/man/man1/notes.1
rm -f $(BASH_COMPLETION_DIR)/notes
Expand Down

0 comments on commit 7623326

Please sign in to comment.