1
2# The doc_sources variable contains one or more DocBook/XML source file.
3# The generated documents will NOT be installed in $(docdir),
4# The DocBook/XML files will always be included in the tarball
5
6dist_noinst_DATA = $(doc_sources)
7
8if HAVE_XMLTO
9noinst_DATA = $(doc_sources:.xml=.html)
10
11if HAVE_FOP
12noinst_DATA += $(doc_sources:.xml=.pdf)
13endif
14
15if HAVE_XMLTO_TEXT
16noinst_DATA += $(doc_sources:.xml=.txt)
17endif
18
19CLEANFILES = $(noinst_DATA)
20include $(top_srcdir)/doc/xml/xmlrules.in
21
22endif HAVE_XMLTO
23