aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2021-07-03 21:41:08 -0700
committerBruce Hill <bruce@bruce-hill.com>2021-07-03 21:41:08 -0700
commita78619a402f3a63faa386403c068d1079780c57a (patch)
treec7749cb004281367005a177d9168edb694791f6c /Makefile
parent1d54d6a29269d89248f65d9f2874b88c34e63691 (diff)
Switch from /etc/xdg/bb to /etc/bb
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index d81fb4c..abf059f 100644
--- a/Makefile
+++ b/Makefile
@@ -42,8 +42,8 @@ install: $(NAME)
fi; \
[ ! "$$prefix" ] && prefix="/usr/local"; \
[ ! "$$sysconfdir" ] && sysconfdir=/etc; \
- mkdir -pv -m 755 "$$prefix/man/man1" "$$prefix/bin" "$$sysconfdir/xdg/$(NAME)" \
- && cp -rv scripts/* "$$sysconfdir/xdg/$(NAME)/" \
+ mkdir -pv -m 755 "$$prefix/man/man1" "$$prefix/bin" "$$sysconfdir/$(NAME)" \
+ && cp -rv scripts/* "$$sysconfdir/$(NAME)/" \
&& cp -v bb.1 "$$prefix/man/man1/$(NAME).1" \
&& cp -v bbcmd.1 "$$prefix/man/man1/bbcmd.1" \
&& rm -f "$$prefix/bin/$(NAME)" \
@@ -58,7 +58,7 @@ uninstall:
[ ! "$$prefix" ] && prefix="/usr/local"; \
[ ! "$$sysconfdir" ] && sysconfdir=/etc; \
echo "Deleting..."; \
- rm -rvf "$$prefix/bin/$(NAME)" "$$prefix/man/man1/$(NAME).1" "$$prefix/man/man1/bbcmd.1" "$$sysconfdir/xdg/$(NAME)"; \
+ rm -rvf "$$prefix/bin/$(NAME)" "$$prefix/man/man1/$(NAME).1" "$$prefix/man/man1/bbcmd.1" "$$sysconfdir/$(NAME)"; \
printf "\033[1mIf you created any config files in ~/.config/$(NAME), you may want to delete them manually.\033[0m\n"
.PHONY: all, clean, install, uninstall