From c5ef72305a497354b091dc7483282501319edaf2 Mon Sep 17 00:00:00 2001 From: Andrew Cady Date: Sat, 23 Oct 2021 12:37:48 -0400 Subject: make doc target --- .gitignore | 1 + Makefile | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 .gitignore 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 SSH_LIB_DIR = /usr/lib/ssh USER_SSH_CONFIG_DIR = ~$(USER)/.ssh -.PHONY: install shared +.PHONY: install shared doc shared: install git config core.self-forge true @@ -28,6 +28,7 @@ install: $(ROOT_INSTALL) -t "$(SSH_LIB_DIR)" $(SRC)/AuthorizedKeysCommand || true [ -e "$(SSH_LIB_DIR)"/AuthorizedKeysCommand ] || $(SUDO) ln -s -t /etc/ssh "$(SSH_LIB_DIR)"/AuthorizedKeysCommand +doc: README.html README.html: README.md pandoc -t html $< > $@ -- cgit v1.2.3