aboutsummaryrefslogblamecommitdiffstats
path: root/rotd/Makefile
blob: d95f3f081744ad72554aec4797941604f00db2c1 (plain) (tree)
1
2
3
4


        
                      











                                                                              
.POSIX:

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