aboutsummaryrefslogtreecommitdiffstats
path: root/xorg-twm/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'xorg-twm/Makefile')
-rw-r--r--xorg-twm/Makefile7
1 files changed, 3 insertions, 4 deletions
diff --git a/xorg-twm/Makefile b/xorg-twm/Makefile
index 77baed4..1e9af59 100644
--- a/xorg-twm/Makefile
+++ b/xorg-twm/Makefile
@@ -1,12 +1,11 @@
.POSIX:
-include ../common.mk
install:
mkdir -p -- ~/.config
- test ! -d ~/.config/twmrc
+ test ! -e ~/.config/twmrc || test -L ~/.config/twmrc
ln -sf -- ~/.dotfiles/xorg-twm/twmrc ~/.config/twmrc
uninstall:
+ +! ../check-installed xorg-twm
+ +! ../check-installed twm
-unlink -- ~/.config/twmrc
-
-.PHONY: install uninstall