From 6636232bc7bb3148ca82dcac3e52ce02212f4b68 Mon Sep 17 00:00:00 2001 From: Lukas Fleischer Date: Sat, 18 Jun 2011 20:03:15 +0000 Subject: 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 --- doc/Makefile.am | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'doc/Makefile.am') 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 \ -- cgit v1.2.3-54-g00ecf