aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2022-10-29 17:09:08 -0300
committerEuAndreh <eu@euandre.org>2022-10-29 17:09:08 -0300
commit9d29a579a99fe07666c70ff02b71fc21469d450b (patch)
tree985b1ed0d970f8f2c8857faf498be1fcb39f9e86 /Makefile
parentGenerate etc/git/config-extra from Makefile instead of Guix Home (diff)
downloaddotfiles-9d29a579a99fe07666c70ff02b71fc21469d450b.tar.gz
dotfiles-9d29a579a99fe07666c70ff02b71fc21469d450b.tar.xz
Generate etc/gnupg/gpg-agent.conf from Makefile instead of Guix Home
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 2c43852..848a3f3 100644
--- a/Makefile
+++ b/Makefile
@@ -15,6 +15,7 @@ derived-assets = \
$(pod2man) \
$(XDG_CONFIG_HOME)/ssh/id_rsa.pub \
$(XDG_CONFIG_HOME)/git/config-extra \
+ $(XDG_CONFIG_HOME)/gnupg/gpg-agent.conf \
$(XDG_CONFIG_HOME)/alot/config \
$(XDG_CONFIG_HOME)/mbsync/config \
$(XDG_CONFIG_HOME)/msmtp/config \
@@ -61,6 +62,11 @@ $(XDG_CONFIG_HOME)/git/config-extra:
printf '[sendemail]\n smtpserver = ' > $@
command -v msmtpq >> $@
+$(XDG_CONFIG_HOME)/gnupg/gpg-agent.conf: $(XDG_CONFIG_HOME)/gnupg/gpg-agent.conf.tmpl
+ cp $(XDG_CONFIG_HOME)/gnupg/gpg-agent.conf.tmpl $@
+ printf 'pinentry-program ' >> $@
+ command -v pinentry-gtk-2 >> $@
+
$(XDG_DATA_HOME)/euandreh/e.list.txt: ~/Documents/txt/ opt/aux/gen-e-list.sh
sh opt/aux/gen-e-list.sh > $@