aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorNicholas Rodrigues Lordello <[email protected]>2026-05-15 08:50:55 +0200
committerNicholas Rodrigues Lordello <[email protected]>2026-05-15 08:50:55 +0200
commit5a07d783ba5ba3e0e10dfcda140761e865c5673f (patch)
treef987e2c13196680d08e3c6ab45f49c1043ebd9db /Makefile
parented2f2e13cded4d611a92fa228033576c4f976cfd (diff)
Added Containerfile
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 86aa085..cacc8f8 100644
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,5 @@
.PHONY: all
-all: ;
+all: ssh/cofig .container;
@ echo "install with 'make install'"
.PHONY: install
@@ -7,5 +7,12 @@ install: all
mkdir -p $(HOME)/.local/bin
ln -s $(PWD)/dbx $(HOME)/.local/bin/dbx
+ssh/config: ssh/config.in ssh/id_ed25519.pub
+ cat $< \
+ | sed -e 's|$$PWD|$(PWD)|' \
+ > $@
+
+.container: ssh/id_ed25519.pub
+
ssh/id_% ssh/id_%.pub:
ssh-keygen -C "$$(id -un)@$$(hostname)" -f ssh/id_$* -N "" -t $*