aboutsummaryrefslogblamecommitdiffstats
path: root/xorg-xrdb/Makefile
blob: 7dce6db0acc28c23d13f01a37d984c7cb70aedcd (plain) (tree)
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-xrdb
	ln -sf -- ~/.dotfiles/xorg-xrdb/xinit ~/.config/X11/xinit/xinitrc.d/$(XINITRC_ORDER)-xorg-xrdb

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

.PHONY: install uninstall