summaryrefslogtreecommitdiff
path: root/doc/Makefile.am
diff options
context:
space:
mode:
authorLukas Fleischer <calcurse@cryptocrack.de>2011-03-03 18:46:15 +0100
committerLukas Fleischer <calcurse@cryptocrack.de>2011-03-03 18:53:31 +0100
commitaaa000cd5aeeba7f1862d46f777df29cca8e8fd3 (patch)
tree6442b129c13663ad36a3bdcb3d8c71f4a3811372 /doc/Makefile.am
parent91c9cac8983c6ed818664762cbe679cefbb0c38b (diff)
downloadcalcurse-aaa000cd5aeeba7f1862d46f777df29cca8e8fd3.zip
Convert man page to AsciiDoc.
Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
Diffstat (limited to 'doc/Makefile.am')
-rw-r--r--doc/Makefile.am12
1 files changed, 12 insertions, 0 deletions
diff --git a/doc/Makefile.am b/doc/Makefile.am
index 28bbb55..2f5edb4 100644
--- a/doc/Makefile.am
+++ b/doc/Makefile.am
@@ -5,12 +5,24 @@ ASCIIDOC_ARGS = \
-a toc \
-a icons
+A2X_ARGS = \
+ -d manpage \
+ -f manpage
+
doc_DATA = \
manual.html
+man_MANS = \
+ calcurse.1
+
docdir = $(datadir)/doc/$(PACKAGE)
.txt.html:
if HAVE_ASCIIDOC
$(AM_V_GEN) $(ASCIIDOC) $(ASCIIDOC_ARGS) $<
endif
+
+calcurse.1: calcurse.1.txt
+if HAVE_A2X
+ $(AM_V_GEN) $(A2X) $(A2X_ARGS) $<
+endif