aboutsummaryrefslogtreecommitdiffstats
path: root/gnupg/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'gnupg/Makefile')
-rw-r--r--gnupg/Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/gnupg/Makefile b/gnupg/Makefile
index 6583b2d..76f83e9 100644
--- a/gnupg/Makefile
+++ b/gnupg/Makefile
@@ -13,10 +13,18 @@ install:
mkdir -p -- ~/.config/profile.d
test ! -d ~/.config/profile.d/gnupg
ln -sf -- ~/.dotfiles/gnupg/user-profile ~/.config/profile.d/gnupg
+ $(CHECK_INSTALLED) dash
+ mkdir -p -- ~/.local/bin
+ ln -sf -- ~/.dotfiles/gnupg/decrypt ~/.local/bin/
+ ln -sf -- ~/.dotfiles/gnupg/encrypt ~/.local/bin/
+ ln -sf -- ~/.dotfiles/gnupg/encrypt-nosign ~/.local/bin/
uninstall:
-unlink -- ~/.config/profile.d/gnupg
-rmdir -- ~/.config/profile.d
-unlink -- ~/.var/lib/gnupg
+ -unlink -- ~/.local/bin/decrypt
+ -unlink -- ~/.local/bin/encrypt
+ -unlink -- ~/.local/bin/encrypt-nosign
.PHONY: install uninstall