aboutsummaryrefslogtreecommitdiffstats
path: root/pytagomacs/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'pytagomacs/Makefile')
-rw-r--r--pytagomacs/Makefile6
1 files changed, 2 insertions, 4 deletions
diff --git a/pytagomacs/Makefile b/pytagomacs/Makefile
index 925c591..87479f0 100644
--- a/pytagomacs/Makefile
+++ b/pytagomacs/Makefile
@@ -1,12 +1,10 @@
.POSIX:
-include ../common.mk
install:
mkdir -p -- ~/.config
- test ! -d ~/.config/pytagomacsrc
+ test ! -e ~/.config/pytagomacsrc || test -L ~/.config/pytagomacsrc
ln -sf -- ~/.dotfiles/pytagomacs/pytagomacsrc ~/.config/pytagomacsrc
uninstall:
+ +! ../check-installed pytagomacs
-unlink -- ~/.config/pytagomacsrc
-
-.PHONY: install uninstall