diff options
author | Andrew Cady <d@cryptonomic.net> | 2021-10-30 08:25:21 -0400 |
---|---|---|
committer | Andrew Cady <d@cryptonomic.net> | 2021-10-30 08:25:21 -0400 |
commit | 73744db384146cfcca757462b7431e889a394abb (patch) | |
tree | 9745f1a3a0ffbcf261947babe4c3663aa3afe52a /EndoForge | |
parent | 275e2f2d8309651cd292f30490d274ed47f0dad0 (diff) |
Makefile: install containing directories
Diffstat (limited to 'EndoForge')
-rw-r--r-- | EndoForge/Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/EndoForge/Makefile b/EndoForge/Makefile index 69b3066..a3c3179 100644 --- a/EndoForge/Makefile +++ b/EndoForge/Makefile | |||
@@ -40,7 +40,9 @@ install-user-config: | |||
40 | install -t ~/.ssh $(SRC)/AnonymousAccessCommand | 40 | install -t ~/.ssh $(SRC)/AnonymousAccessCommand |
41 | 41 | ||
42 | install-user: install-user-config build/sshd_config ~/.ssh/id_ed25519 | 42 | install-user: install-user-config build/sshd_config ~/.ssh/id_ed25519 |
43 | $(INSTALL) -d ~/.ssh | ||
43 | $(INSTALL) -m0644 -t ~/.ssh build/sshd_config | 44 | $(INSTALL) -m0644 -t ~/.ssh build/sshd_config |
45 | $(INSTALL) -d ~/.config/systemd/user | ||
44 | $(INSTALL) -m0644 -t ~/.config/systemd/user $(SRC)/sshd.service | 46 | $(INSTALL) -m0644 -t ~/.config/systemd/user $(SRC)/sshd.service |
45 | systemctl --user daemon-reload | 47 | systemctl --user daemon-reload |
46 | systemctl --user enable sshd | 48 | systemctl --user enable sshd |