summaryrefslogtreecommitdiffstats
path: root/doc/Makefile.am
diff options
context:
space:
mode:
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