X-Git-Url: https://git.tokkee.org/?p=sysdb.git;a=blobdiff_plain;f=doc%2FMakefile.am;h=99ec20b74a9e0df3b6ace22723a88d2905ac4e90;hp=a50754d924d969625d51812a9deb9eea40c064c9;hb=56b97a180a53aecbfe9f7162b8ece3faae973cf9;hpb=125e7cfb1cfb48c9d6654766abfae3dfea1030fe diff --git a/doc/Makefile.am b/doc/Makefile.am index a50754d..99ec20b 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -5,9 +5,11 @@ SUFFIXES = \ .1.xml .5.xml .7.xml EXTRA_DIST = \ + asciidoc.conf \ sysdb.1.txt \ sysdbd.1.txt \ sysdbd.conf.5.txt \ + sysdb-description.txt \ sysdbd-cname-dns.5.txt \ sysdbd-collectd-unixsock.5.txt \ sysdbd-mk-livestatus.5.txt \ @@ -74,9 +76,8 @@ html_DATA = \ ADOC_FLAGS = \ -f$(srcdir)/asciidoc.conf \ -apackage_version=$(PACKAGE_VERSION) \ - -alocalstatedir=$(localstatedir) -# XXX: Make asciidoc use this stylesheet -HTML_ATTRS = --stylesheet=$(srcdir)/sysdb-man.css + -alocalstatedir=$(localstatedir) \ + $(ADOCFLAGS) MAN_DEPS = asciidoc.conf ../version @@ -113,6 +114,9 @@ sysdbd-syslog.5.html: sysdbd-syslog.5.txt $(MAN_DEPS) sysdb.7.html: sysdb.7.txt sysdb-description.txt $(MAN_DEPS) sysdbql.7.html: sysdbql.7.txt sysdb-description.txt $(MAN_DEPS) +html-local: $(html_DATA) +install-html-local: install-htmlDATA + .1.txt.1.xml: @ASCIIDOC@ $(ADOC_FLAGS) -b docbook -d manpage $< .5.txt.5.xml: @@ -128,9 +132,9 @@ sysdbql.7.html: sysdbql.7.txt sysdb-description.txt $(MAN_DEPS) @XMLTO@ man $< .1.txt.1.html: - @ASCIIDOC@ $(ADOC_FLAGS) -b xhtml11 -d manpage $< + @ASCIIDOC@ $(ADOC_FLAGS) -b html5 -d manpage $< .5.txt.5.html: - @ASCIIDOC@ $(ADOC_FLAGS) -b xhtml11 -d manpage $< + @ASCIIDOC@ $(ADOC_FLAGS) -b html5 -d manpage $< .7.txt.7.html: - @ASCIIDOC@ $(ADOC_FLAGS) -b xhtml11 -d manpage $< + @ASCIIDOC@ $(ADOC_FLAGS) -b html5 -d manpage $<