summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index d3346ed..2501da9 100644
--- a/Makefile
+++ b/Makefile
@@ -13,8 +13,13 @@ 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
16BROWSER != 2>/dev/null which xdg-open || which w3m || which links || which elinks
17
16.PHONY: install shared doc test 18.PHONY: install shared doc test
17 19
20doc: README.html
21 $(BROWSER) $<
22
18shared: install 23shared: install
19 git config core.self-forge true 24 git config core.self-forge true
20 25
@@ -28,8 +33,6 @@ install:
28 $(ROOT_INSTALL) -t "$(SSH_LIB_DIR)" $(SRC)/AuthorizedKeysCommand || true 33 $(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 34 [ -e "$(SSH_LIB_DIR)"/AuthorizedKeysCommand ] || $(SUDO) ln -s -t /etc/ssh "$(SSH_LIB_DIR)"/AuthorizedKeysCommand
30 35
31doc: README.html
32
33README.html: README.md 36README.html: README.md
34 pandoc -t html $< > $@ 37 pandoc -t html $< > $@
35 38