aboutsummaryrefslogtreecommitdiffstats
path: root/dbus/Makefile
blob: 80e240b35f3766a2540909d6c990f7cf4f20bc92 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
.POSIX:

XINITRC_ORDER = 50

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

uninstall:
	+! ../check-installed dbus
	-unlink -- ~/.config/X11/xinit/xinitrc.d/$(XINITRC_ORDER)-dbus
	-rmdir -- ~/.config/X11/xinit/xinitrc.d