aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2021-01-26 18:12:29 -0800
committerBruce Hill <bruce@bruce-hill.com>2021-01-26 18:12:29 -0800
commitf9d3ab630903aff987fa124271f35b16df71e31e (patch)
treedff4ecf6997a0ede3367c8e4a26125db32dd88a7
parent889fd70ec7537472e7d378f3e500c17ce40743ff (diff)
Moved /usr/local/share/man -> /usr/local/man
-rw-r--r--Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index da0fbc7..43331cf 100644
--- a/Makefile
+++ b/Makefile
@@ -41,14 +41,14 @@ splint:
# $(CFILES) bp.c
install: $(NAME)
- mkdir -p -m 755 "$(PREFIX)/share/man/man1" "$(PREFIX)/bin" "$(SYSCONFDIR)/xdg/$(NAME)"
+ mkdir -p -m 755 "$(PREFIX)/man/man1" "$(PREFIX)/bin" "$(SYSCONFDIR)/xdg/$(NAME)"
cp -r grammars/* "$(SYSCONFDIR)/xdg/$(NAME)/"
- cp bp.1 "$(PREFIX)/share/man/man1/$(NAME).1"
+ cp bp.1 "$(PREFIX)/man/man1/$(NAME).1"
rm -f "$(PREFIX)/bin/$(NAME)"
cp $(NAME) "$(PREFIX)/bin/"
uninstall:
- rm -rf "$(PREFIX)/bin/$(NAME)" "$(PREFIX)/share/man/man1/$(NAME).1" "$(SYSCONFDIR)/xdg/$(NAME)"
+ rm -rf "$(PREFIX)/bin/$(NAME)" "$(PREFIX)/man/man1/$(NAME).1" "$(SYSCONFDIR)/xdg/$(NAME)"
@if [ -d ~/.config/$(NAME) ]; then \
printf 'Config files exist in ~/.config/$(NAME) Do you want to delete them? [Y/n] '; \
read confirm; \