blob: 6d0d753ea8326d4c9b63a833e72fa6bcca7ef3ce (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
.POSIX:
include ../common.mk
install:
$(CHECK_INSTALLED) general-preprocessor
make -C config
mkdir -p -- ~/.config
if test -L ~/.config/xpybar; then \
test "$$(readlink -- ~/.config/xpybar)" = ~/.dotfiles/xpybar/config; \
else \
test ! -e ~/.config/xpybar && \
ln -s -- ~/.dotfiles/xpybar/config ~/.config/xpybar; \
fi
uninstall:
-unlink -- ~/.config/xpybar
.PHONY: install uninstall
|