aboutsummaryrefslogblamecommitdiffstats
path: root/base/Makefile
blob: 8006e1f7dba38ecdbfd9911bd96e53fd3264a685 (plain) (tree)
























                                                               
.POSIX:

FACE = penguin.png

install:
	mkdir -p -- ~/.config
	test ! -d ~/.profile
	test ! -d ~/.config/profile
	test ! -d ~/.config/user-dirs.locale
	test ! -d ~/.config/face
	test ! -d ~/.face
	test ! -d ~/.face.icon
	ln -sf -- .config/profile ~/.profile
	ln -sf -- ~/.dotfiles/base/profile ~/.config/profile
	ln -sf -- ~/.dotfiles/base/user-dirs.locale ~/.config/
	ln -sf -- ~/.dotfiles/base/faces/$(FACE) ~/.config/face
	ln -sf -- .face ~/.face.icon
	ln -sf -- .config/face ~/.face

uninstall:
	-unlink -- ~/.config/profile
	-unlink -- ~/.config/user-dirs.locale
	-unlink -- ~/.profile

.PHONY: install uninstall