diff options
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | Makefile | 3 |
2 files changed, 3 insertions, 1 deletions
diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..daa30a3 --- /dev/null +++ b/.gitignore | |||
@@ -0,0 +1 @@ | |||
README.html | |||
@@ -13,7 +13,7 @@ SSHD_CONFIG_DIR = $(SSH_CONFIG_DIR)/sshd_config.d | |||
13 | SSH_LIB_DIR = /usr/lib/ssh | 13 | SSH_LIB_DIR = /usr/lib/ssh |
14 | USER_SSH_CONFIG_DIR = ~$(USER)/.ssh | 14 | USER_SSH_CONFIG_DIR = ~$(USER)/.ssh |
15 | 15 | ||
16 | .PHONY: install shared | 16 | .PHONY: install shared doc |
17 | 17 | ||
18 | shared: install | 18 | shared: install |
19 | git config core.self-forge true | 19 | git config core.self-forge true |
@@ -28,6 +28,7 @@ install: | |||
28 | $(ROOT_INSTALL) -t "$(SSH_LIB_DIR)" $(SRC)/AuthorizedKeysCommand || true | 28 | $(ROOT_INSTALL) -t "$(SSH_LIB_DIR)" $(SRC)/AuthorizedKeysCommand || true |
29 | [ -e "$(SSH_LIB_DIR)"/AuthorizedKeysCommand ] || $(SUDO) ln -s -t /etc/ssh "$(SSH_LIB_DIR)"/AuthorizedKeysCommand | 29 | [ -e "$(SSH_LIB_DIR)"/AuthorizedKeysCommand ] || $(SUDO) ln -s -t /etc/ssh "$(SSH_LIB_DIR)"/AuthorizedKeysCommand |
30 | 30 | ||
31 | doc: README.html | ||
31 | README.html: README.md | 32 | README.html: README.md |
32 | pandoc -t html $< > $@ | 33 | pandoc -t html $< > $@ |
33 | 34 | ||