summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorLukas Fleischer <calcurse@cryptocrack.de>2011-09-03 02:19:32 +0200
committerLukas Fleischer <calcurse@cryptocrack.de>2011-09-03 02:19:32 +0200
commitac50b5a11106576f24dca18e1d6ab4313d696013 (patch)
treeb7087f1b06f5991edea03c85f191f2bf740a733e /doc
parentb59070a49e292746edeb781733db25931a6a6e50 (diff)
downloadcalcurse-ac50b5a11106576f24dca18e1d6ab4313d696013.zip
Add a configure setting to skip "doc/"
This should fix all remaining build issues with documentation generation. Finally. The new "--disable-docs" option should be used to skip documentation completely, whereas "--without-asciidoc" can be used if both manual and man page should not be rebuilt. As a consequence, "--without-asciidoc" can only be combined with "--enable-docs" if ready-made documentation already exists in "doc/". This is true for release tarballs (where we include prebuilt documentation for the sake of portability and simplicity), as well as for Git checkouts where the documentation has already been built earlier. Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
Diffstat (limited to 'doc')
-rw-r--r--doc/Makefile.am8
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/Makefile.am b/doc/Makefile.am
index 287cddb..caa90d2 100644
--- a/doc/Makefile.am
+++ b/doc/Makefile.am
@@ -5,19 +5,19 @@ ASCIIDOC_ARGS = \
-n \
-a toc \
-a icons
-
-dist_doc_DATA = \
- manual.html
endif
if HAVE_A2X
A2X_ARGS = \
-d manpage \
-f manpage
+endif
+
+dist_doc_DATA = \
+ manual.html
dist_man_MANS = \
calcurse.1
-endif
EXTRA_DIST = \
manual.txt \