diff options
author | Andrew Cady <d@cryptonomic.net> | 2021-10-26 09:48:33 -0400 |
---|---|---|
committer | Andrew Cady <d@cryptonomic.net> | 2021-10-26 09:49:12 -0400 |
commit | cb8993568d68a17fad301d6f210ce14737447977 (patch) | |
tree | cbf55e0174177df7478cc5817115a16d543d0928 | |
parent | 099d70f87208afc6bc0baf098c266c0d705f2453 (diff) |
move README.html to build/
-rw-r--r-- | EndoForge/.gitignore | 2 | ||||
-rw-r--r-- | EndoForge/Makefile | 9 |
2 files changed, 7 insertions, 4 deletions
diff --git a/EndoForge/.gitignore b/EndoForge/.gitignore index daa30a3..378eac2 100644 --- a/EndoForge/.gitignore +++ b/EndoForge/.gitignore | |||
@@ -1 +1 @@ | |||
README.html | build | ||
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 | ||
29 | doc: README.html | 29 | doc: build/README.html $(SRC)/style.css |
30 | install -m0644 $(SRC)/style.css -t build | ||
30 | $(BROWSER) $< | 31 | $(BROWSER) $< |
31 | 32 | ||
32 | shared: install | 33 | shared: install |
@@ -52,6 +53,7 @@ test: | |||
52 | make -C test | 53 | make -C test |
53 | 54 | ||
54 | build/sshd_config: $(SRC)/sshd_config Makefile | 55 | build/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)?' |
72 | endef | 74 | endef |
73 | 75 | ||
74 | README.html: README.md | 76 | build/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 $@ | ||