aboutsummaryrefslogblamecommitdiffstats
path: root/dconf/Makefile
blob: b98a8ae690eccb26ea5621adbe02ae07c8550ca2 (plain) (tree)
1
2
3
4
5
6
7
8





                                                 

                                                                            


                                                                                              

                                       



                                                                       
.POSIX:

XINITRC_ORDER = 10

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

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