summaryrefslogtreecommitdiff
path: root/doc/Makefile.am
diff options
context:
space:
mode:
authorMartin Lucina <mato@kotelna.sk>2011-04-07 15:37:46 +0200
committerMartin Lucina <martin@lucina.net>2012-01-23 08:53:43 +0100
commit8eea9178e40abf16c0e469465a58fba3beaaf754 (patch)
treeda36e07db727b5c30c8e5c7745275b9d6d48131f /doc/Makefile.am
parent3e20cb1b8a2b1ca222011df37334e5f4f88dd565 (diff)
parent8e61b98c5e2943b149c825310b24e714a6127072 (diff)
Imported Debian patch 2.1.4-1debian/2.1.4-1
Diffstat (limited to 'doc/Makefile.am')
-rw-r--r--doc/Makefile.am6
1 files changed, 5 insertions, 1 deletions
diff --git a/doc/Makefile.am b/doc/Makefile.am
index d00014d..7408f10 100644
--- a/doc/Makefile.am
+++ b/doc/Makefile.am
@@ -11,6 +11,7 @@ MAN_DOC = $(MAN1) $(MAN3) $(MAN7)
MAN_TXT = $(MAN1:%.1=%.txt)
MAN_TXT += $(MAN3:%.3=%.txt)
MAN_TXT += $(MAN7:%.7=%.txt)
+MAN_HTML = $(MAN_TXT:%.txt=%.html)
if INSTALL_MAN
dist_man_MANS = $(MAN_DOC)
@@ -26,8 +27,11 @@ MAINTAINERCLEANFILES = $(MAN_DOC) $(MAN_HTML)
dist-hook : $(MAN_DOC) $(MAN_HTML)
if BUILD_DOC
-SUFFIXES=.txt .xml .1 .3 .7
+SUFFIXES=.html .txt .xml .1 .3 .7
+.txt.html:
+ $(AM_V_GEN)$(ASCIIDOC) -d manpage -b xhtml11 -f asciidoc.conf \
+ -azmq_version=@PACKAGE_VERSION@ $<
.txt.xml:
$(AM_V_GEN)$(ASCIIDOC) -d manpage -b docbook -f asciidoc.conf \
-azmq_version=@PACKAGE_VERSION@ $<