aboutsummaryrefslogtreecommitdiffstats
path: root/xpybar/Makefile
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--xpybar/Makefile8
1 files changed, 3 insertions, 5 deletions
diff --git a/xpybar/Makefile b/xpybar/Makefile
index 6d0d753..da65a68 100644
--- a/xpybar/Makefile
+++ b/xpybar/Makefile
@@ -1,9 +1,8 @@
.POSIX:
-include ../common.mk
install:
- $(CHECK_INSTALLED) general-preprocessor
- make -C config
+ ../check-installed general-preprocessor
+ cd config && $(MAKE)
mkdir -p -- ~/.config
if test -L ~/.config/xpybar; then \
test "$$(readlink -- ~/.config/xpybar)" = ~/.dotfiles/xpybar/config; \
@@ -13,6 +12,5 @@ install:
fi
uninstall:
+ +! ../check-installed xpybar
-unlink -- ~/.config/xpybar
-
-.PHONY: install uninstall