From: Sebastian Harl Date: Tue, 29 Apr 2014 21:12:50 +0000 (+0200) Subject: doc: Build and install HTML documentation as well. X-Git-Tag: sysdb-0.1.0~59^2~3 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=b105a7d7106a70afdda2b9ea3b984fa572a6ccc8;p=sysdb.git doc: Build and install HTML documentation as well. For now, build HTML variants of the manpages but without any index file or similar. --- 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) $<