aboutsummaryrefslogtreecommitdiffstats
path: root/gnupg/Makefile
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2021-06-26 20:04:40 +0200
committerMattias Andrée <maandree@kth.se>2021-06-26 20:04:40 +0200
commitd0c754055ddfcc56feae567b16b9044baada1386 (patch)
tree8d8e21d00daaa3e512c5e21d6e0c805ba212b409 /gnupg/Makefile
parentAdd the wrappers c, dmenu, mplayer, st, and aur (diff)
downloaddotfiles-d0c754055ddfcc56feae567b16b9044baada1386.tar.gz
dotfiles-d0c754055ddfcc56feae567b16b9044baada1386.tar.bz2
dotfiles-d0c754055ddfcc56feae567b16b9044baada1386.tar.xz
Add e, ge, decrypt, encrypt, and encrypt-nosign
Signed-off-by: Mattias Andrée <maandree@kth.se>
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