diff options
| author | Nicholas Rodrigues Lordello <[email protected]> | 2026-05-15 08:50:55 +0200 |
|---|---|---|
| committer | Nicholas Rodrigues Lordello <[email protected]> | 2026-05-15 08:50:55 +0200 |
| commit | 5a07d783ba5ba3e0e10dfcda140761e865c5673f (patch) | |
| tree | f987e2c13196680d08e3c6ab45f49c1043ebd9db /Makefile | |
| parent | ed2f2e13cded4d611a92fa228033576c4f976cfd (diff) | |
Added Containerfile
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -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 $* |
