aboutsummaryrefslogtreecommitdiffstats
path: root/radharc/Makefile
blob: 0a7a4abf4acbc3c814b9109f37deff98b9b7eea3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
.POSIX:
include ../common.mk

XINITRC_ORDER = 20

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

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

.PHONY: install uninstall