doc: HTML file generation: use the installed copy of xorg.css
Currently the xorg.css file is copied in each location where a DocBook/XML file resides. This produces about 70 copies in the $(docdir) install tree for all of xorg. Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> Signed-off-by: Gaetan Nadon <memsize@videotron.ca> Signed-off-by: Keith Packard <keithp@keithp.com>
This commit is contained in:
parent
504e3010e9
commit
d3c523bd12
|
@ -3,4 +3,3 @@ xserver.ent
|
|||
Xserver-spec.html
|
||||
Xserver-spec.pdf
|
||||
Xserver-spec.txt
|
||||
xorg.css
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
Xserver-DTrace.html
|
||||
Xserver-DTrace.pdf
|
||||
Xserver-DTrace.txt
|
||||
xorg.css
|
||||
|
|
|
@ -40,11 +40,8 @@ XML_ENT_DIR = $(abs_top_builddir)/doc/xml
|
|||
XMLTO_FLAGS = --searchpath $(XML_ENT_DIR)
|
||||
|
||||
if HAVE_STYLESHEETS
|
||||
XMLTO_FLAGS += -m $(XSL_STYLESHEET)
|
||||
BUILT_DOC_FILES += xorg.css
|
||||
|
||||
xorg.css: $(STYLESHEET_SRCDIR)/xorg.css
|
||||
$(AM_V_GEN)cp -pf $(STYLESHEET_SRCDIR)/xorg.css $@
|
||||
XMLTO_FLAGS += -m $(XSL_STYLESHEET) \
|
||||
--stringparam html.stylesheet=$(STYLESHEET_SRCDIR)/xorg.css
|
||||
endif
|
||||
|
||||
if HAVE_XMLTO
|
||||
|
@ -69,7 +66,7 @@ endif
|
|||
|
||||
endif
|
||||
|
||||
CLEAN_DOC_FILES = $(TXT_FILES) $(HTML_FILES) $(PDF_FILES) xorg.css
|
||||
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
|
||||
|
|
Loading…
Reference in New Issue