From 416484a63622c7f6ec6e53679ad3d7b68000bc5d Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Sat, 3 Jul 2021 21:43:56 -0700 Subject: Switched /etc/xdg/bp -> /etc/bp --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Makefile') 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; \ -- cgit v1.2.3