aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorNicholas Rodrigues Lordello <[email protected]>2026-05-15 09:06:50 +0200
committerNicholas Rodrigues Lordello <[email protected]>2026-05-15 09:06:50 +0200
commit795342c5e7793b66c44e8482ec7dcd94bf4f8885 (patch)
treef04ce612b0a3a3e67b6e60627f979205cd2af6e7 /Makefile
parent5a07d783ba5ba3e0e10dfcda140761e865c5673f (diff)
Fix Image and DBX Commandsmacos
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index cacc8f8..c1da571 100644
--- a/Makefile
+++ b/Makefile
@@ -1,18 +1,19 @@
.PHONY: all
-all: ssh/cofig .container;
- @ echo "install with 'make install'"
+all: .container ssh/config ;
.PHONY: install
install: all
mkdir -p $(HOME)/.local/bin
ln -s $(PWD)/dbx $(HOME)/.local/bin/dbx
+.container: Containerfile dbx-init ssh/id_ed25519.pub
+ container build --build-arg USER=$(USER) --pull --tag dbx .
+ touch $@
+
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 $*