mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2025-12-20 17:30:02 +01:00
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>
23 lines
485 B
Text
23 lines
485 B
Text
|
|
# The doc_sources variable contains one or more DocBook/XML source file.
|
|
# The generated documents will be installed in $(docdir),
|
|
# The DocBook/XML files will always be included in the tarball
|
|
|
|
dist_doc_DATA = $(doc_sources)
|
|
|
|
if HAVE_XMLTO
|
|
doc_DATA = $(doc_sources:.xml=.html)
|
|
|
|
if HAVE_FOP
|
|
doc_DATA += $(doc_sources:.xml=.pdf)
|
|
endif
|
|
|
|
if HAVE_XMLTO_TEXT
|
|
doc_DATA += $(doc_sources:.xml=.txt)
|
|
endif
|
|
|
|
CLEANFILES = $(doc_DATA)
|
|
include $(top_srcdir)/doc/xml/xmlrules.in
|
|
|
|
endif HAVE_XMLTO
|
|
|