aboutsummaryrefslogtreecommitdiffstats
path: root/base/Makefile
blob: 8006e1f7dba38ecdbfd9911bd96e53fd3264a685 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
.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