aboutsummaryrefslogblamecommitdiffstats
path: root/wire-desktop/Makefile
blob: ee40a34d624ca5ecc4d0dbc1c06003548ce69337 (plain) (tree)


















                                                                                             
.POSIX:

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
	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

uninstall:
	-unlink -- ~/.config/bash/aliases.d/wire-desktop
	-rmdir -- ~/.config/bash/aliases.d

.PHONY: install uninstall