[pve-devel] [PATCH docs] doc-gen: never open generated manpages in man
Thomas Lamprecht
t.lamprecht at proxmox.com
Thu Jul 5 16:07:56 CEST 2018
This is a bit annoying because we need to define NOVIEW everywhere in
our buildsystems.
And for repeated edit-compile-view cycles there's alway the
shell/bash/zsh history to quickly (re)open a file in man...
Signed-off-by: Thomas Lamprecht <t.lamprecht at proxmox.com>
---
pve-doc-generator.mk.in | 3 ---
1 file changed, 3 deletions(-)
diff --git a/pve-doc-generator.mk.in b/pve-doc-generator.mk.in
index ddc0217..f44bc67 100644
--- a/pve-doc-generator.mk.in
+++ b/pve-doc-generator.mk.in
@@ -52,21 +52,18 @@ chapter-%.html: %.adoc ${PVE_COMMON_DOC_SOURCES}
%.1: %.adoc %.1-synopsis.adoc ${PVE_COMMON_DOC_SOURCES}
${ASCIIDOC_PVE} compile-man -o $@ $*.adoc
- test -n "$${NOVIEW}" || man -l $@
%.1.html: %.adoc %.1-synopsis.adoc ${PVE_COMMON_DOC_SOURCES}
${ASCIIDOC_PVE} compile-man-html -o $@ $*.adoc
%.8: %.adoc %.8-synopsis.adoc ${PVE_COMMON_DOC_SOURCES}
${ASCIIDOC_PVE} compile-man -o $@ $*.adoc
- test -n "$${NOVIEW}" || man -l $@
%.8.html: %.adoc %.8-synopsis.adoc ${PVE_COMMON_DOC_SOURCES}
${ASCIIDOC_PVE} compile-man-html -o $@ $*.adoc
%.5: %.adoc %.5-opts.adoc ${PVE_COMMON_DOC_SOURCES}
${ASCIIDOC_PVE} compile-man -o $@ $*.adoc
- test -n "$${NOVIEW}" || man -l $@
%.5.html: %.adoc %.5-opts.adoc ${PVE_COMMON_DOC_SOURCES}
${ASCIIDOC_PVE} compile-man-html -o $@ $*.adoc
--
2.18.0
More information about the pve-devel
mailing list