1706f2543Smrg
2706f2543Smrg# The doc_sources variable contains one or more DocBook/XML source file.
3706f2543Smrg# The generated documents will NOT be installed in $(docdir),
4706f2543Smrg# The DocBook/XML files will always be included in the tarball
5706f2543Smrg
6706f2543Smrgdist_noinst_DATA = $(doc_sources)
7706f2543Smrg
8706f2543Smrgif HAVE_XMLTO
9706f2543Smrgnoinst_DATA = $(doc_sources:.xml=.html)
10706f2543Smrg
11706f2543Smrgif HAVE_FOP
12706f2543Smrgnoinst_DATA += $(doc_sources:.xml=.pdf)
13706f2543Smrgendif
14706f2543Smrg
15706f2543Smrgif HAVE_XMLTO_TEXT
16706f2543Smrgnoinst_DATA += $(doc_sources:.xml=.txt)
17706f2543Smrgendif
18706f2543Smrg
19706f2543SmrgCLEANFILES = $(noinst_DATA)
20706f2543Smrginclude $(top_srcdir)/doc/xml/xmlrules.in
21706f2543Smrg
22706f2543Smrgendif HAVE_XMLTO
23