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

        
                      











                                                                              
.POSIX:
include ../common.mk

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