summaryrefslogtreecommitdiff
path: root/EndoForge/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'EndoForge/Makefile')
-rw-r--r--EndoForge/Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/EndoForge/Makefile b/EndoForge/Makefile
index a63fa31..4619d49 100644
--- a/EndoForge/Makefile
+++ b/EndoForge/Makefile
@@ -26,7 +26,8 @@ SOURCES = $(addprefix $(SRC), $(SOURCE_NAMES))
26 26
27.PHONY: install install-user install-user-config install-root shared doc test 27.PHONY: install install-user install-user-config install-root shared doc test
28 28
29doc: README.html 29doc: build/README.html $(SRC)/style.css
30 install -m0644 $(SRC)/style.css -t build
30 $(BROWSER) $< 31 $(BROWSER) $<
31 32
32shared: install 33shared: install
@@ -52,6 +53,7 @@ test:
52 make -C test 53 make -C test
53 54
54build/sshd_config: $(SRC)/sshd_config Makefile 55build/sshd_config: $(SRC)/sshd_config Makefile
56 install -d $(dir $@)
55 $(edit_sshd) < "$<" > "$@".tmp 57 $(edit_sshd) < "$<" > "$@".tmp
56 mv "$@".tmp "$@" 58 mv "$@".tmp "$@"
57 59
@@ -71,5 +73,6 @@ sed \
71 -e 's?PidFile=$$?&$(SSHD_PID_FILE)?' 73 -e 's?PidFile=$$?&$(SSHD_PID_FILE)?'
72endef 74endef
73 75
74README.html: README.md 76build/README.html: README.md
75 pandoc -s --css "$(SRC)"/style.css -t html $< -o $@ 77 install -d $(dir $@)
78 pandoc -s --css style.css -t html $< -o $@