blob: 5db6e1b0aa069475b2e42b25bac5ece14a005b8a (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
.POSIX:
install:
mkdir -p -- ~/.config
if test ! -L ~/.config/rotd; then \
test ! -e ~/.config/rotd && \
ln -sf -- ~/.dotfiles/rotd/config ~/.config/rotd; \
else \
test "$(readlink ~/.config/rotd)" = ~/.dotfiles/rotd/config; \
fi
uninstall:
-unlink -- ~/.config/rotd
.PHONY: install uninstall
|