aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2022-11-27 08:00:51 -0300
committerEuAndreh <eu@euandre.org>2022-11-27 08:00:51 -0300
commit41dba0f8461218d12a9ade09397ac7790a2c1b4b (patch)
tree959115f313ae23b970ce618bf9cf18254610c1bd
parentetc/guix/system.scm: Do not run newaliases in postfix-activation (diff)
downloaddotfiles-41dba0f8461218d12a9ade09397ac7790a2c1b4b.tar.gz
dotfiles-41dba0f8461218d12a9ade09397ac7790a2c1b4b.tar.xz
Makefile: Enforce creating $XDG_CACHE_HOME/ssh/conn
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 1926808..e4d836f 100644
--- a/Makefile
+++ b/Makefile
@@ -13,6 +13,7 @@ lisp-images = \
derived-assets = \
$(pod2man) \
+ $(XDG_CACHE_HOME)/ssh/conn \
$(XDG_CONFIG_HOME)/ssh/id_rsa.pub \
$(XDG_CONFIG_HOME)/gnupg/gpg-agent.conf \
$(XDG_CONFIG_HOME)/ssh/config \
@@ -39,6 +40,9 @@ share/man/man1/z.1: bin/z
$(XDG_DATA_HOME)/common-lisp/source:
ln -s $(SRC)/libre $@
+$(XDG_CACHE_HOME)/ssh/conn:
+ mkdir -p $@
+
$(XDG_CONFIG_HOME)/ssh/id_rsa.pub:
gpg --export-ssh-key eu@euandre.org > $@
chmod 600 $@