aboutsummaryrefslogtreecommitdiffstats
path: root/xorg-xset/Makefile
blob: 18a23be9b47ab2a2326561d01ce0ac16cc02529e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
.POSIX:

XINITRC_ORDER = 20

install:
	mkdir -p -- ~/.config/X11/xinit/xinitrc.d
	test ! -d ~/.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:
	-unlink -- ~/.config/X11/xinit/xinitrc.d/$(XINITRC_ORDER)-xorg-xset
	-rmdir -- ~/.config/X11/xinit/xinitrc.d
	-rmdir -- ~/.config/X11/xinit
	-rmdir -- ~/.config/X11

.PHONY: install uninstall