aboutsummaryrefslogblamecommitdiffstats
path: root/xorg-xset/Makefile
blob: a029f8d11d01906572e9acea86cd60180a0eba82 (plain) (tree)
1
2
3
4
5
6
7
8





                                                 

                                                                                


                                                                                                      


                                               



                                                                           
.POSIX:

XINITRC_ORDER = 20

install:
	mkdir -p -- ~/.config/X11/xinit/xinitrc.d
	test ! -e ~/.config/X11/xinit/xinitrc.d/$(XINITRC_ORDER)-xorg-xset || \
		test -L ~/.config/X11/xinit/xinitrc.d/$(XINITRC_ORDER)-xorg-xset
	ln -sf -- ~/.dotfiles/xorg-xset/xinit ~/.config/X11/xinit/xinitrc.d/$(XINITRC_ORDER)-xorg-xset

uninstall:
	+! ../check-installed xorg-xset
	+! ../check-installed xset
	+! ../check-installed x11-xserver-utils
	-unlink -- ~/.config/X11/xinit/xinitrc.d/$(XINITRC_ORDER)-xorg-xset
	-rmdir -- ~/.config/X11/xinit/xinitrc.d
	-rmdir -- ~/.config/X11/xinit
	-rmdir -- ~/.config/X11