From a7d2fef75b529c8cc10c4d22fca3114e30542394 Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Wed, 26 Sep 2018 23:04:35 +0200 Subject: [PATCH] man: Use asciidoc to generate HTML pages directly Signed-off-by: Michael Tremer --- Makefile.am | 10 +++------- man/custom-html.xsl | 31 ------------------------------- 2 files changed, 3 insertions(+), 38 deletions(-) delete mode 100644 man/custom-html.xsl diff --git a/Makefile.am b/Makefile.am index d01e2233..c4f8b453 100644 --- a/Makefile.am +++ b/Makefile.am @@ -494,8 +494,7 @@ CLEANFILES += \ $(MANPAGES_HTML) EXTRA_DIST += \ - $(MANPAGES_TXT) \ - man/custom-html.xsl + $(MANPAGES_TXT) XSLTPROC_FLAGS = \ --nonet \ @@ -509,17 +508,14 @@ XSLTPROC_COMMAND_MAN = \ $(AM_V_XSLT)$(XSLTPROC) -o $@ $(XSLTPROC_FLAGS) \ http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $< -XSLTPROC_COMMAND_HTML = \ - $(AM_V_XSLT)$(XSLTPROC) -o $@ $(XSLTPROC_FLAGS) $(srcdir)/man/custom-html.xsl $< - man/%.xml: man/%.txt $(AM_V_ASCIIDOC)$(ASCIIDOC) -d manpage -b docbook -o $@ $< man/%.8: man/%.xml $(XSLTPROC_COMMAND_MAN) -man/%.html: man/%.xml man/custom-html.xsl - $(XSLTPROC_COMMAND_HTML) +man/%.html: man/%.txt + $(AM_V_ASCIIDOC)$(ASCIIDOC) -b html5 -a icons -a theme=flask -o $@ $< # ------------------------------------------------------------------------------ diff --git a/man/custom-html.xsl b/man/custom-html.xsl deleted file mode 100644 index fe2b54e1..00000000 --- a/man/custom-html.xsl +++ /dev/null @@ -1,31 +0,0 @@ - - - - - - - - - - - .html - - - - - - - - - - index.html - - Index - -
-
- - - - -
-- 2.39.2