mirror of
https://github.com/X11Libre/xserver.git
synced 2026-04-14 17:18:09 +00:00
Show Xserver release/version date in DIX & DDX docs
Uses a fake absolute path to the entity definition files so that the xmlto --searchpath will work for finding the actual path Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Dan Nicholson <dbn.lists@gmail.com> Tested-by: Gaetan Nadon <memsize@videotron.ca>
This commit is contained in:
@@ -36,24 +36,33 @@ BUILT_DOC_FILES =
|
||||
|
||||
SUFFIXES = .xml .txt .html .pdf
|
||||
|
||||
XML_ENT_DIR = $(abs_top_builddir)/doc/xml
|
||||
XMLTO_FLAGS = --searchpath $(XML_ENT_DIR)
|
||||
|
||||
if HAVE_XMLTO
|
||||
BUILT_DOC_FILES += $(TXT_FILES)
|
||||
.xml.txt:
|
||||
@rm -f $@
|
||||
$(AM_V_GEN)$(XMLTO) txt $<
|
||||
$(AM_V_GEN)$(XMLTO) $(XMLTO_FLAGS) txt $<
|
||||
|
||||
BUILT_DOC_FILES += $(HTML_FILES)
|
||||
.xml.html:
|
||||
@rm -f $@
|
||||
$(AM_V_GEN)$(XMLTO) xhtml-nochunks $<
|
||||
$(AM_V_GEN)$(XMLTO) $(XMLTO_FLAGS) xhtml-nochunks $<
|
||||
|
||||
if HAVE_FOP
|
||||
BUILT_DOC_FILES += $(PDF_FILES)
|
||||
.xml.pdf:
|
||||
@rm -f $@
|
||||
$(AM_V_GEN)$(XMLTO) --with-fop pdf $<
|
||||
$(AM_V_GEN)$(XMLTO) $(XMLTO_FLAGS) --with-fop pdf $<
|
||||
endif
|
||||
|
||||
endif
|
||||
|
||||
CLEAN_DOC_FILES = $(TXT_FILES) $(HTML_FILES) $(PDF_FILES)
|
||||
|
||||
# All the files we build depend on the entities
|
||||
$(BUILT_DOC_FILES): $(XML_ENT_DIR)/xserver.ent
|
||||
|
||||
$(XML_ENT_DIR)/xserver.ent:
|
||||
(cd $(XML_ENT_DIR) && $(MAKE) $(AM_MAKEFLAGS) $(@F))
|
||||
|
||||
Reference in New Issue
Block a user