From 41dba0f8461218d12a9ade09397ac7790a2c1b4b Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Sun, 27 Nov 2022 08:00:51 -0300 Subject: Makefile: Enforce creating $XDG_CACHE_HOME/ssh/conn --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Makefile') 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 $@ -- cgit v1.2.3