aboutsummaryrefslogtreecommitdiffstats
path: root/dconf/Makefile
blob: 0b1b6a164a6cf36c4656708c1f609e0d14b48f6c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
.POSIX:

XINITRC_ORDER = 10

install:
	mkdir -p -- ~/.config/X11/xinit/xinitrc.d
	test ! -d ~/.config/X11/xinit/xinitrc.d/$(XINITRC_ORDER)-dconf
	ln -sf -- ~/.dotfiles/dconf/xinit ~/.config/X11/xinit/xinitrc.d/$(XINITRC_ORDER)-dconf

uninstall:
	-unlink -- ~/.config/X11/xinit/xinitrc.d/$(XINITRC_ORDER)-dconf
	-rmdir -- ~/.config/X11/xinit/xinitrc.d
	-rmdir -- ~/.config/X11/xinit
	-rmdir -- ~/.config/X11

.PHONY: install uninstall