We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b96cf86 commit 7623326Copy full SHA for 7623326
Makefile
@@ -1,7 +1,7 @@
1
PREFIX ?= /usr/local
2
BASH_COMPLETION_DIR := $(shell pkg-config --variable=completionsdir bash-completion)
3
# pkg-config adds a space for some reason, we have to strip it off.
4
-BASH_COMPLETION_DIR := $(strip BASH_COMPLETION_DIR)
+BASH_COMPLETION_DIR := $(strip $(BASH_COMPLETION_DIR))
5
USERDIR ?= $(HOME)
6
7
install:
@@ -13,7 +13,7 @@ install:
13
install -m777 -D config.example $(USERDIR)/.config/notes/config.example
14
install -D notes.1 $(PREFIX)/share/man/man1/notes.1
15
mandb 1>/dev/null
16
-unintstall:
+uninstall:
17
rm -f $(PREFIX)/bin/notes
18
rm -f $(PREFIX)/share/man/man1/notes.1
19
rm -f $(BASH_COMPLETION_DIR)/notes
0 commit comments