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

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