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

        

                                               








                                                                                      
                                    
                                   
.POSIX:

install:
	../check-installed general-preprocessor
	cd config && $(MAKE)
	mkdir -p -- ~/.config
	if test -L ~/.config/xpybar; then \
		test "$$(readlink -- ~/.config/xpybar)" = ~/.dotfiles/xpybar/config; \
	else \
		test ! -e ~/.config/xpybar && \
		ln -s -- ~/.dotfiles/xpybar/config ~/.config/xpybar; \
	fi

uninstall:
	+! ../check-installed xpybar
	-unlink -- ~/.config/xpybar