Reworked lxsession man page generation.
[lxde/lxsession.git] / man / Makefile.am
CommitLineData
6afdcce3
JH
1man_MANS = \
2 lxsession.1 \
3 lxsession-logout.1
dd69beb8 4
6afdcce3
JH
5man_XMANS = \
6 lxsession.xml \
7 lxsession-logout.xml
dd69beb8 8
6afdcce3
JH
9EXTRA_DIST = \
10 $(man_MANS) \
11 $(man_XMANS)
dd69beb8 12
dd69beb8 13
6afdcce3
JH
14if ENABLE_REGENERATE_MAN
15
16lxsession.1: lxsession.xml
17 $(XSLTPROC) -nonet http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $<
18
19lxsession-logout.1: lxsession-logout.xml
20 $(XSLTPROC) -nonet http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $<
21
22CLEANFILES = $(man_MANS)
23else
24
25$(man_MANS):
26 @echo ""
27 @echo "Error: you need to run configure with '--enable-man'"
28 @echo " in order to regenerate man pages."
29 @echo ""
30 @false
31endif
32
aa838fed 33