xserver-multidpi/doc/xml/xmlrules-noinst.in
Gaetan Nadon 7250f078c1 doc: refactor Makefile and xmlrules.in code for reusability
A different approach which requires less variables setting
and internal knowledge of the reused code.
Changing from "install" to "not install" is very easy now.

Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
Signed-off-by: Keith Packard <keithp@keithp.com>
2010-11-24 11:44:35 -08:00

23 lines
503 B
Plaintext

# The doc_sources variable contains one or more DocBook/XML source file.
# The generated documents will NOT be installed in $(docdir),
# The DocBook/XML files will always be included in the tarball
dist_noinst_DATA = $(doc_sources)
if HAVE_XMLTO
noinst_DATA = $(doc_sources:.xml=.html)
if HAVE_FOP
noinst_DATA += $(doc_sources:.xml=.pdf)
endif
if HAVE_XMLTO_TEXT
noinst_DATA += $(doc_sources:.xml=.txt)
endif
CLEANFILES = $(noinst_DATA)
include $(top_srcdir)/doc/xml/xmlrules.in
endif HAVE_XMLTO