Commit f29266b4 authored by Iustin Pop's avatar Iustin Pop

Also generate HTML format for the man pages

This would help in generating online-viewable docs, which could link to
the man pages.

Reviewed-by: imsnah
parent 74aa2478
......@@ -47,4 +47,5 @@
# man
/man/*.[0-9]
/man/*.html
/man/*.in
......@@ -53,6 +53,7 @@ CLEANFILES = \
lib/rapi/*.py[co] \
man/*.[78] \
man/*.in \
man/*.html \
qa/*.py[co] \
test/*.py[co] \
stamp-directories \
......@@ -125,6 +126,8 @@ doc_DATA = \
$(patsubst %.sgml,%.html,$(docsgml)) \
$(patsubst %.sgml,%.pdf,$(docsgml))
noinst_DATA = $(manhtml)
dist_sbin_SCRIPTS = \
daemons/ganeti-noded \
daemons/ganeti-watcher \
......@@ -194,6 +197,7 @@ man_MANS = \
maninput = $(patsubst %.7,%.in,$(patsubst %.8,%.in,$(man_MANS)))
mansgml = $(patsubst %.in,%.sgml,$(maninput))
manhtml = $(patsubst %.in,%.html,$(maninput))
TEST_FILES = \
test/data/bdev-both.txt \
......@@ -265,6 +269,9 @@ man/%.7: man/%.in man/footer.sgml $(DOCBOOK_WRAPPER)
man/%.8: man/%.in man/footer.sgml $(DOCBOOK_WRAPPER)
$(DOCBOOK_WRAPPER) "$(DOCBOOK2MAN)" $< $@
man/%.html: man/%.in $(DOCBOOK_WRAPPER)
$(DOCBOOK_WRAPPER) "$(DOCBOOK2HTML) --nochunks" $< $@
man/footer.sgml $(TESTS): srclinks
$(TESTS) $(BUILD_RAPI_RESOURCE_DOC): ganeti lib/_autoconf.py
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment