aboutsummaryrefslogtreecommitdiffstats
path: root/libcontacts
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--libcontacts/Makefile12
1 files changed, 4 insertions, 8 deletions
diff --git a/libcontacts/Makefile b/libcontacts/Makefile
index 262f283..552e82d 100644
--- a/libcontacts/Makefile
+++ b/libcontacts/Makefile
@@ -1,5 +1,4 @@
.POSIX:
-include ../common.mk
install:
test -d contacts
@@ -12,10 +11,7 @@ install:
fi
uninstall:
- -if ! $(CHECK_INSTALLED) libcontacts 2>/dev/null && \
- ! $(CHECK_INSTALLED) libcontacts-glibc 2>/dev/null && \
- ! $(CHECK_INSTALLED) libcontacts-musl 2>/dev/null; then \
- unlink -- ~/.config/contacts; \
- fi
-
-.PHONY: install uninstall
+ +! ../check-installed libcontacts
+ +! ../check-installed libcontacts-glibc
+ +! ../check-installed libcontacts-musl
+ -unlink -- ~/.config/contacts