aboutsummaryrefslogtreecommitdiffstats
path: root/python/Makefile
blob: 8c2d73068853715a61912b58509567633c44e452 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
.POSIX:

install:
	mkdir -p -- ~/.var/cache
	ln -sf .var/cache/python_history ~/
	mkdir -p -- ~/.config/profile.d
	test ! -d ~/.config/profile.d/python
	ln -sf -- ~/.dotfiles/python/user-profile ~/.config/profile.d/python

uninstall:
	-unlink -- ~/.config/profile.d/python
	-rmdir -- ~/.config/profile.d
	-unlink -- ~/.var/cache/python_history
	-unlink -- ~/.python_history

.PHONY: install uninstall