summaryrefslogtreecommitdiff
path: root/doc/Makefile.am
diff options
context:
space:
mode:
authorLukas Fleischer <calcurse@cryptocrack.de>2011-06-18 20:03:15 +0000
committerLukas Fleischer <calcurse@cryptocrack.de>2011-06-20 19:01:30 +0200
commit6636232bc7bb3148ca82dcac3e52ce02212f4b68 (patch)
tree2d36f45a9dfee0b0738998862820755a6d1b7a82 /doc/Makefile.am
parent9c3a8a5a49a6a66ba93596c0a022ae7ffe7fcf37 (diff)
downloadcalcurse-6636232bc7bb3148ca82dcac3e52ce02212f4b68.zip
doc/Makefile.am: Fix "--without-asciidoc"
Do not try to distribute man page and manual files if documentation generation is disabled. Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
Diffstat (limited to 'doc/Makefile.am')
-rw-r--r--doc/Makefile.am10
1 files changed, 7 insertions, 3 deletions
diff --git a/doc/Makefile.am b/doc/Makefile.am
index f1a595e..287cddb 100644
--- a/doc/Makefile.am
+++ b/doc/Makefile.am
@@ -1,19 +1,23 @@
AUTOMAKE_OPTIONS = foreign
+if HAVE_ASCIIDOC
ASCIIDOC_ARGS = \
-n \
-a toc \
-a icons
+dist_doc_DATA = \
+ manual.html
+endif
+
+if HAVE_A2X
A2X_ARGS = \
-d manpage \
-f manpage
-dist_doc_DATA = \
- manual.html
-
dist_man_MANS = \
calcurse.1
+endif
EXTRA_DIST = \
manual.txt \