From: Felipe Contreras Date: Wed, 12 May 2021 22:27:56 GMT Subject: [PATCH 1/8] doc: standardize asciidoc calls Message-ID: <20210512222803.508446-2-felipe.contreras@gmail.com> In-Reply-To: <20210512222803.508446-1-felipe.contreras@gmail.com> By always specifying the output file it will be possible to refactor all the calls in a future helper. Signed-off-by: Felipe Contreras --- Documentation/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Documentation/Makefile b/Documentation/Makefile index 2aae4c9cbb..3d282a2797 100644 --- a/Documentation/Makefile +++ b/Documentation/Makefile @@ -388,7 +388,7 @@ technical/api-index.txt: technical/api-index-skel.txt \ technical/%.html: ASCIIDOC_EXTRA += -a git-relative-html-prefix=../ $(patsubst %,%.html,$(API_DOCS) technical/api-index $(TECH_DOCS)): %.html : %.txt \ asciidoc.conf GIT-ASCIIDOCFLAGS - $(QUIET_ASCIIDOC)$(TXT_TO_HTML) $*.txt + $(QUIET_ASCIIDOC)$(TXT_TO_HTML) -o $@ $< SubmittingPatches.txt: SubmittingPatches $(QUIET_GEN) cp $< $@ @@ -442,7 +442,7 @@ howto-index.txt: howto-index.sh $(HOWTO_TXT) mv $@+ $@ $(patsubst %,%.html,$(ARTICLES)) : %.html : %.txt - $(QUIET_ASCIIDOC)$(TXT_TO_HTML) $*.txt + $(QUIET_ASCIIDOC)$(TXT_TO_HTML) -o $@ $< WEBDOC_DEST = /pub/software/scm/git/docs @@ -450,7 +450,7 @@ howto/%.html: ASCIIDOC_EXTRA += -a git-relative-html-prefix=../ $(patsubst %.txt,%.html,$(HOWTO_TXT)): %.html : %.txt GIT-ASCIIDOCFLAGS $(QUIET_ASCIIDOC)$(RM) $@+ $@ && \ sed -e '1,/^$$/d' $< | \ - $(TXT_TO_HTML) - >$@+ && \ + $(TXT_TO_HTML) -o $@+ - && \ mv $@+ $@ install-webdoc : html -- 2.31.1