summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Cady <d@cryptonomic.net>2021-10-23 12:37:48 -0400
committerAndrew Cady <d@cryptonomic.net>2021-10-23 12:37:48 -0400
commitc5ef72305a497354b091dc7483282501319edaf2 (patch)
treebecdd8e44d88411de979b435591c49e72127cdd0
parent1c35165652fae8410eec8c8bb31ef86ddec8ec6a (diff)
make doc target
-rw-r--r--.gitignore1
-rw-r--r--Makefile3
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
diff --git a/Makefile b/Makefile
index 4983669..785c4ac 100644
--- a/Makefile
+++ b/Makefile
@@ -13,7 +13,7 @@ SSHD_CONFIG_DIR = $(SSH_CONFIG_DIR)/sshd_config.d
13SSH_LIB_DIR = /usr/lib/ssh 13SSH_LIB_DIR = /usr/lib/ssh
14USER_SSH_CONFIG_DIR = ~$(USER)/.ssh 14USER_SSH_CONFIG_DIR = ~$(USER)/.ssh
15 15
16.PHONY: install shared 16.PHONY: install shared doc
17 17
18shared: install 18shared: 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
31doc: README.html
31README.html: README.md 32README.html: README.md
32 pandoc -t html $< > $@ 33 pandoc -t html $< > $@
33 34