From cb8993568d68a17fad301d6f210ce14737447977 Mon Sep 17 00:00:00 2001 From: Andrew Cady Date: Tue, 26 Oct 2021 09:48:33 -0400 Subject: move README.html to build/ --- EndoForge/.gitignore | 2 +- 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)) .PHONY: install install-user install-user-config install-root shared doc test -doc: README.html +doc: build/README.html $(SRC)/style.css + install -m0644 $(SRC)/style.css -t build $(BROWSER) $< shared: install @@ -52,6 +53,7 @@ test: make -C test build/sshd_config: $(SRC)/sshd_config Makefile + install -d $(dir $@) $(edit_sshd) < "$<" > "$@".tmp mv "$@".tmp "$@" @@ -71,5 +73,6 @@ sed \ -e 's?PidFile=$$?&$(SSHD_PID_FILE)?' endef -README.html: README.md - pandoc -s --css "$(SRC)"/style.css -t html $< -o $@ +build/README.html: README.md + install -d $(dir $@) + pandoc -s --css style.css -t html $< -o $@ -- cgit v1.2.3