Generate man pages IFF doc tools are present

Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
Hans Ulrich Niedermann 2008-02-11 09:56:09 +01:00 committed by Julien Danjou
parent f42f138f78
commit d68ba7fa12
1 changed files with 8 additions and 5 deletions

View File

@ -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