aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2021-07-03 21:43:56 -0700
committerBruce Hill <bruce@bruce-hill.com>2021-07-03 21:43:56 -0700
commit416484a63622c7f6ec6e53679ad3d7b68000bc5d (patch)
treef30f84b363fffaddd49986400fbb979f54e696b2 /Makefile
parent2439a87833dd7df6cdbd26a8149a96ce4c341e94 (diff)
Switched /etc/xdg/bp -> /etc/bp
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 08c6a17..8a30d7b 100644
--- a/Makefile
+++ b/Makefile
@@ -59,14 +59,14 @@ splint:
# $(CFILES) bp.c
install: $(NAME) bp.1
- mkdir -p -m 755 "$(PREFIX)/man/man1" "$(PREFIX)/bin" "$(SYSCONFDIR)/xdg/$(NAME)"
- cp -r grammars/* "$(SYSCONFDIR)/xdg/$(NAME)/"
+ mkdir -p -m 755 "$(PREFIX)/man/man1" "$(PREFIX)/bin" "$(SYSCONFDIR)/$(NAME)"
+ cp -r grammars/* "$(SYSCONFDIR)/$(NAME)/"
cp bp.1 "$(PREFIX)/man/man1/$(NAME).1"
rm -f "$(PREFIX)/bin/$(NAME)"
cp $(NAME) "$(PREFIX)/bin/"
uninstall:
- rm -rf "$(PREFIX)/bin/$(NAME)" "$(PREFIX)/man/man1/$(NAME).1" "$(SYSCONFDIR)/xdg/$(NAME)"
+ rm -rf "$(PREFIX)/bin/$(NAME)" "$(PREFIX)/man/man1/$(NAME).1" "$(SYSCONFDIR)/$(NAME)"
@if [ -d ~/.config/$(NAME) ]; then \
printf 'Config files exist in ~/.config/$(NAME) Do you want to delete them? [Y/n] '; \
read confirm; \