36
36
# NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
37
37
# CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
39
# The doc_sources variable contains one or more DocBook/XML source file.
40
# The generated documents will NOT be installed in $(docdir),
41
# The DocBook/XML files will always be included in the tarball
40
44
# Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
59
63
# DEALINGS IN THE SOFTWARE.
62
# This file is included by Makefile.am in subdirectories that have
63
# DocBook XML documentation files.
65
# No files are automatically distributed or installed by this subset of rules
66
# Any files to be distributed or installed would be listed in the including
66
# This file provides pattern rules to generate html/pdf/txt from DocBook/XML
67
# A stylesheet is used if xorg-sgml-doctools is installed
68
# This file is included by xmlrules-inst.in for installable user's documentation
69
# It is included by xmlrules-noinst for non installable developer's documentation
70
# If the server version or release date changes, autogen && make
70
73
pkgdatadir = $(datadir)/@PACKAGE@
86
89
build_triplet = @build@
87
90
host_triplet = @host@
88
DIST_COMMON = $(srcdir)/../../../../doc/xml/xmlrules.in \
89
$(srcdir)/Makefile.am $(srcdir)/Makefile.in
90
@HAVE_STYLESHEETS_TRUE@am__append_1 = -m $(XSL_STYLESHEET)
91
@HAVE_STYLESHEETS_TRUE@am__append_2 = xorg.css
92
@HAVE_XMLTO_TEXT_TRUE@@HAVE_XMLTO_TRUE@am__append_3 = $(TXT_FILES)
93
@HAVE_XMLTO_TRUE@am__append_4 = $(HTML_FILES)
94
@HAVE_FOP_TRUE@@HAVE_XMLTO_TRUE@am__append_5 = $(PDF_FILES)
91
DIST_COMMON = $(am__dist_noinst_DATA_DIST) $(srcdir)/Makefile.am \
92
$(srcdir)/Makefile.in $(top_srcdir)/doc/xml/xmlrules-noinst.in \
93
$(top_srcdir)/doc/xml/xmlrules.in
94
@ENABLE_DEVEL_DOCS_TRUE@@HAVE_FOP_TRUE@@HAVE_XMLTO_TRUE@am__append_1 = $(doc_sources:.xml=.pdf)
95
@ENABLE_DEVEL_DOCS_TRUE@@HAVE_XMLTO_TEXT_TRUE@@HAVE_XMLTO_TRUE@am__append_2 = $(doc_sources:.xml=.txt)
96
@ENABLE_DEVEL_DOCS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@am__append_3 = -m $(XSL_STYLESHEET) \
97
@ENABLE_DEVEL_DOCS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@ --stringparam html.stylesheet=$(STYLESHEET_SRCDIR)/xorg.css
95
99
subdir = hw/xfree86/doc/sgml
96
100
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
97
101
am__aclocal_m4_deps = $(top_srcdir)/m4/ac_define_dir.m4 \
98
$(top_srcdir)/m4/dolt.m4 $(top_srcdir)/configure.ac
102
$(top_srcdir)/m4/ax_tls.m4 $(top_srcdir)/configure.ac
99
103
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
101
105
mkinstalldirs = $(install_sh) -d
174
179
DMXXIEXAMPLES_DEP_LIBS = @DMXXIEXAMPLES_DEP_LIBS@
175
180
DMXXMUEXAMPLES_DEP_CFLAGS = @DMXXMUEXAMPLES_DEP_CFLAGS@
176
181
DMXXMUEXAMPLES_DEP_LIBS = @DMXXMUEXAMPLES_DEP_LIBS@
177
DOLT_BASH = @DOLT_BASH@
178
182
DOXYGEN = @DOXYGEN@
179
183
DRI2PROTO_CFLAGS = @DRI2PROTO_CFLAGS@
180
184
DRI2PROTO_LIBS = @DRI2PROTO_LIBS@
439
442
top_build_prefix = @top_build_prefix@
440
443
top_builddir = @top_builddir@
441
444
top_srcdir = @top_srcdir@
442
XML_FILES = DESIGN.xml
443
TXT_FILES = $(XML_FILES:%.xml=%.txt)
444
HTML_FILES = $(XML_FILES:%.xml=%.html)
445
PDF_FILES = $(XML_FILES:%.xml=%.pdf)
446
BUILT_DOC_FILES = $(am__append_2) $(am__append_3) $(am__append_4) \
448
SUFFIXES = .xml .txt .html .pdf
449
XML_ENT_DIR = $(abs_top_builddir)/doc/xml
450
XMLTO_FLAGS = --searchpath $(XML_ENT_DIR) $(am__append_1)
451
CLEAN_DOC_FILES = $(TXT_FILES) $(HTML_FILES) $(PDF_FILES) xorg.css
452
@ENABLE_DEVEL_DOCS_TRUE@noinst_DATA = $(BUILT_DOC_FILES)
453
CLEANFILES = $(CLEAN_DOC_FILES)
454
EXTRA_DIST = $(XML_FILES)
445
doc_sources = DESIGN.xml
446
@ENABLE_DEVEL_DOCS_TRUE@dist_noinst_DATA = $(doc_sources)
447
@ENABLE_DEVEL_DOCS_TRUE@@HAVE_XMLTO_TRUE@noinst_DATA = $(doc_sources:.xml=.html) \
448
@ENABLE_DEVEL_DOCS_TRUE@@HAVE_XMLTO_TRUE@ $(am__append_1) \
449
@ENABLE_DEVEL_DOCS_TRUE@@HAVE_XMLTO_TRUE@ $(am__append_2)
450
@ENABLE_DEVEL_DOCS_TRUE@@HAVE_XMLTO_TRUE@CLEANFILES = $(noinst_DATA)
451
@ENABLE_DEVEL_DOCS_TRUE@@HAVE_XMLTO_TRUE@XML_ENT_DIR = $(abs_top_builddir)/doc/xml
452
@ENABLE_DEVEL_DOCS_TRUE@@HAVE_XMLTO_TRUE@SUFFIXES = .xml .txt .html .pdf
453
@ENABLE_DEVEL_DOCS_TRUE@@HAVE_XMLTO_TRUE@XMLTO_FLAGS = --searchpath \
454
@ENABLE_DEVEL_DOCS_TRUE@@HAVE_XMLTO_TRUE@ $(XML_ENT_DIR) \
455
@ENABLE_DEVEL_DOCS_TRUE@@HAVE_XMLTO_TRUE@ $(am__append_3)
458
459
.SUFFIXES: .xml .txt .html .pdf
459
$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(srcdir)/../../../../doc/xml/xmlrules.in $(am__configure_deps)
460
$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/doc/xml/xmlrules-noinst.in $(top_srcdir)/doc/xml/xmlrules.in $(am__configure_deps)
460
461
@for dep in $?; do \
461
462
case '$(am__configure_deps)' in \
639
640
mostlyclean-libtool pdf pdf-am ps ps-am uninstall uninstall-am
642
@HAVE_STYLESHEETS_TRUE@xorg.css: $(STYLESHEET_SRCDIR)/xorg.css
643
@HAVE_STYLESHEETS_TRUE@ $(AM_V_GEN)cp -pf $(STYLESHEET_SRCDIR)/xorg.css $@
644
@HAVE_XMLTO_TEXT_TRUE@@HAVE_XMLTO_TRUE@.xml.txt:
645
@HAVE_XMLTO_TEXT_TRUE@@HAVE_XMLTO_TRUE@ @rm -f $@
646
@HAVE_XMLTO_TEXT_TRUE@@HAVE_XMLTO_TRUE@ $(AM_V_GEN)$(XMLTO) $(XMLTO_FLAGS) txt $<
647
@HAVE_XMLTO_TRUE@.xml.html:
648
@HAVE_XMLTO_TRUE@ @rm -f $@
649
@HAVE_XMLTO_TRUE@ $(AM_V_GEN)$(XMLTO) $(XMLTO_FLAGS) xhtml-nochunks $<
650
@HAVE_FOP_TRUE@@HAVE_XMLTO_TRUE@.xml.pdf:
651
@HAVE_FOP_TRUE@@HAVE_XMLTO_TRUE@ @rm -f $@
652
@HAVE_FOP_TRUE@@HAVE_XMLTO_TRUE@ $(AM_V_GEN)$(XMLTO) $(XMLTO_FLAGS) --with-fop pdf $<
654
# All the files we build depend on the entities
655
$(BUILT_DOC_FILES): $(XML_ENT_DIR)/xserver.ent
657
$(XML_ENT_DIR)/xserver.ent:
658
(cd $(XML_ENT_DIR) && $(MAKE) $(AM_MAKEFLAGS) $(@F))
643
@ENABLE_DEVEL_DOCS_TRUE@@HAVE_XMLTO_TRUE@%.txt: %.xml $(XML_ENT_DIR)/xserver.ent
644
@ENABLE_DEVEL_DOCS_TRUE@@HAVE_XMLTO_TRUE@ $(AM_V_GEN)$(XMLTO) $(XMLTO_FLAGS) txt $<
646
@ENABLE_DEVEL_DOCS_TRUE@@HAVE_XMLTO_TRUE@%.html: %.xml $(XML_ENT_DIR)/xserver.ent
647
@ENABLE_DEVEL_DOCS_TRUE@@HAVE_XMLTO_TRUE@ $(AM_V_GEN)$(XMLTO) $(XMLTO_FLAGS) xhtml-nochunks $<
649
@ENABLE_DEVEL_DOCS_TRUE@@HAVE_XMLTO_TRUE@%.pdf: %.xml $(XML_ENT_DIR)/xserver.ent
650
@ENABLE_DEVEL_DOCS_TRUE@@HAVE_XMLTO_TRUE@ $(AM_V_GEN)$(XMLTO) $(XMLTO_FLAGS) --with-fop pdf $<
652
# Developer's documentation is not installed
660
654
# Tell versions [3.59,3.63) of GNU make to not export all variables.
661
655
# Otherwise a system limit (for SysV at least) may be exceeded.