From d68ba7fa12ed2970562aadbe5b60593edd3f8e54 Mon Sep 17 00:00:00 2001 From: Hans Ulrich Niedermann Date: Mon, 11 Feb 2008 09:56:09 +0100 Subject: [PATCH] Generate man pages IFF doc tools are present Signed-off-by: Julien Danjou --- Makefile.am | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/Makefile.am b/Makefile.am index f16af525..ff72ec68 100644 --- a/Makefile.am +++ b/Makefile.am @@ -157,14 +157,17 @@ awesome_message_SOURCES = \ awesome_message_LDADD = $(XFT_LIBS) $(X_LIBS) $(CAIRO_LIBS) $(CONFUSE_LIBS) -EXTRA_DIST += awesome.1.txt +if HAVE_XMLTO +if HAVE_ASCIIDOC man_MANS += awesome.1 - -EXTRA_DIST += awesome-client.1.txt man_MANS += awesome-client.1 - -EXTRA_DIST += awesomerc.1.txt man_MANS += awesomerc.1 +endif +endif + +EXTRA_DIST += awesome.1.txt +EXTRA_DIST += awesome-client.1.txt +EXTRA_DIST += awesomerc.1.txt dist_iconslayouts_DATA += icons/layouts/dwindle.png dist_iconslayouts_DATA += icons/layouts/dwindlew.png