[PATCH libX11] Install target dbs alongside generated documents

Gaetan Nadon memsize at videotron.ca
Mon Jun 6 11:35:49 PDT 2011


This matches a change in xorg-sgml-docs whereby the masterdb will look for
the target dbs into the same location as the generated documents.

The target dbs are now installed alongside the generated documents.
Previously they are installed in $prefix/sgml/X11/dbs alongside masterdb which
has the potential of installing outside the package prefix and cause
distcheck to fail when user does not have write permission in this package.

Signed-off-by: Gaetan Nadon <memsize at videotron.ca>
---

	Requires xorg-sgml-doctools patch and bigreqsproto to test it out
	The docs have end links from bigreqsproto


 docbook.am |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/docbook.am b/docbook.am
index 6937083..2ffb7e6 100644
--- a/docbook.am
+++ b/docbook.am
@@ -72,7 +72,7 @@ if HAVE_STYLESHEETS
 if HAVE_XSLTPROC
 
 # DocBook/XML generated document cross-reference database
-sgmldbs_DATA = $(docbook:.xml=.html.db) $(docbook:.xml=.fo.db)
+shelf_DATA += $(docbook:.xml=.html.db) $(docbook:.xml=.fo.db)
 
 # Generate DocBook/XML document cross-reference database
 # Flags for the XSL Transformation processor generating xref target databases
@@ -94,4 +94,4 @@ endif HAVE_XSLTPROC
 endif HAVE_STYLESHEETS
 endif HAVE_XMLTO
 
-CLEANFILES = $(shelf_DATA) $(sgmldbs_DATA)
+CLEANFILES = $(shelf_DATA)
-- 
1.7.4.1



More information about the xorg-devel mailing list