aboutsummaryrefslogtreecommitdiffstats
path: root/libcontacts/Makefile
blob: 7b7ad08252f3ed2a5c5ece859407422493d9c6e2 (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/contacts; then \
		test ! -e ~/.config/contacts && \
		ln -sf -- ~/.dotfiles/libcontacts/contacts ~/.config/contacts; \
	else \
		test "$(readlink ~/.config/contacts)" = ~/.dotfiles/libcontacts/contacts; \
	fi

uninstall:
	-unlink -- ~/.config/contacts

.PHONY: install uninstall