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

        
                        











                                                                                           
.POSIX:
include ../common.mk

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