aboutsummaryrefslogblamecommitdiffstats
path: root/libcontacts/Makefile
blob: 774bc8c3032636d959fa27f608d4b919535b81ee (plain) (tree)
1
2
3
4


        
                        











                                                                                           
.POSIX:

install:
	test -d contacts
	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