aboutsummaryrefslogtreecommitdiffstats
path: root/python/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'python/Makefile')
-rw-r--r--python/Makefile16
1 files changed, 16 insertions, 0 deletions
diff --git a/python/Makefile b/python/Makefile
new file mode 100644
index 0000000..8c2d730
--- /dev/null
+++ b/python/Makefile
@@ -0,0 +1,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