From 9d29a579a99fe07666c70ff02b71fc21469d450b Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Sat, 29 Oct 2022 17:09:08 -0300 Subject: Generate etc/gnupg/gpg-agent.conf from Makefile instead of Guix Home --- Makefile | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'Makefile') 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 > $@ -- cgit v1.2.3