summaryrefslogtreecommitdiff
path: root/gnupg/Makefile
diff options
context:
space:
mode:
authorGrégoire Duchêne <gduchene@awhk.org>2020-12-24 10:21:06 +0000
committerGrégoire Duchêne <gduchene@awhk.org>2020-12-25 13:33:16 +0000
commit4761c61d15f0a3e2570735ccf5597f8b8aeba0e2 (patch)
treef6a369bb68436b653ca4d64ad542df64cc783999 /gnupg/Makefile
parent9f76237aa43f06945029310863860ead8d68b942 (diff)
Add gpg configuration
Diffstat (limited to 'gnupg/Makefile')
-rw-r--r--gnupg/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/gnupg/Makefile b/gnupg/Makefile
new file mode 100644
index 0000000..2e6e94b
--- /dev/null
+++ b/gnupg/Makefile
@@ -0,0 +1,7 @@
+GNUPGHOME ?= ~/.gnupg
+
+all: ${GNUPGHOME}
+
+${GNUPGHOME}:
+ mkdir -m 700 -p $@
+ ln -s $(shell realpath --relative-to $@ gpg.conf) $@/gpg.conf