diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -13,8 +13,13 @@ 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 | BROWSER != 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 | ||
20 | doc: README.html | ||
21 | $(BROWSER) $< | ||
22 | |||
18 | shared: install | 23 | shared: 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 | ||
31 | doc: README.html | ||
32 | |||
33 | README.html: README.md | 36 | README.html: README.md |
34 | pandoc -t html $< > $@ | 37 | pandoc -t html $< > $@ |
35 | 38 | ||