From b105a7d7106a70afdda2b9ea3b984fa572a6ccc8 Mon Sep 17 00:00:00 2001 From: Sebastian Harl Date: Tue, 29 Apr 2014 23:12:50 +0200 Subject: [PATCH] doc: Build and install HTML documentation as well. For now, build HTML variants of the manpages but without any index file or similar. --- doc/Makefile.am | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/doc/Makefile.am b/doc/Makefile.am index 76d488f..fb6c967 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -1,4 +1,4 @@ -SUFFIXES = .1 .5 .1.txt .5.txt +SUFFIXES = .1 .5 .1.html .5.html .1.txt .5.txt EXTRA_DIST = \ sysdb.1.txt \ @@ -14,19 +14,30 @@ man_MANS = \ sysdbd.1 \ sysdbd.conf.5 +html_DATA = \ + sysdb.1.html \ + sysdbd.1.html \ + sysdbd.conf.5.html + ADOC_ATTRS = -apackage_version=$(PACKAGE_VERSION) \ -abuild_date="$$( date --utc '+%F' )" \ -alocalstatedir=$(localstatedir) sysdb.1: sysdb.1.txt ../version - sysdbd.1: sysdbd.1.txt ../version - sysdbd.conf.5: sysdbd.conf.5.txt ../version +sysdb.1.html: sysdb.1.txt ../version +sysdbd.1.html: sysdbd.1.txt ../version +sysdbd.conf.5.html: sysdbd.conf.5.txt ../version + .1.txt.1: @A2X@ -d manpage -f manpage $(ADOC_ATTRS) $< +.1.txt.1.html: + @A2X@ -d manpage -f xhtml $(ADOC_ATTRS) $< .5.txt.5: @A2X@ -d manpage -f manpage $(ADOC_ATTRS) $< +.5.txt.5.html: + @A2X@ -d manpage -f xhtml $(ADOC_ATTRS) $< -- 2.30.2