aboutsummaryrefslogtreecommitdiffstats
path: root/wire-desktop/Makefile
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2021-06-25 16:42:47 +0200
committerMattias Andrée <maandree@kth.se>2021-06-25 16:42:47 +0200
commitfb0db5d269ff178322dc23ae6c18049f3f8b9772 (patch)
tree0d716908ea2b33adb4853491e3c5d8a3d9cb6f6b /wire-desktop/Makefile
parentm (diff)
downloaddotfiles-fb0db5d269ff178322dc23ae6c18049f3f8b9772.tar.gz
dotfiles-fb0db5d269ff178322dc23ae6c18049f3f8b9772.tar.bz2
dotfiles-fb0db5d269ff178322dc23ae6c18049f3f8b9772.tar.xz
Let main Makefile select package manager
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'wire-desktop/Makefile')
-rw-r--r--wire-desktop/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/wire-desktop/Makefile b/wire-desktop/Makefile
index ee40a34..e6d821b 100644
--- a/wire-desktop/Makefile
+++ b/wire-desktop/Makefile
@@ -1,13 +1,14 @@
.POSIX:
+include ../common.mk
install:
test -f ~/.var/wire/WireCrypt.img
test -f ~/.var/wire/WireCrypt.key
mkdir -p -- ~/.var/wire/WireCrypt.d
test -e ~/.config/Wire || ln -s -- ../.var/wire/WireCrypt.d/Wire ~/.config/Wire
- pacman -Qq -- asroot </dev/null >/dev/null
- pacman -Qq -- gnupg </dev/null >/dev/null
- pacman -Qq -- cryptsetup </dev/null >/dev/null
+ $(CHECK_INSTALLED) asroot
+ $(CHECK_INSTALLED) gnupg
+ $(CHECK_INSTALLED) cryptsetup
mkdir -p -- ~/.config/bash/aliases.d
test ! -d ~/.config/bash/aliases.d/wire-desktop
ln -sf -- ~/.dotfiles/wire-desktop/bash-aliases ~/.config/bash/aliases.d/wire-desktop