aboutsummaryrefslogblamecommitdiffstats
path: root/rotd/Makefile
blob: 46698916dee4fd60823e63af4e1596a0fbf93e13 (plain) (tree)
1
2
3
4
5
6
7
8
9


        
                      




                                                                   
                                                                                  


          
                                  
                                 
.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:
	+! ../check-installed rotd
	-unlink -- ~/.config/rotd