[PATCH sgml-doctools] Upgrade xorg-sgml-doctools.pc.in

Gaetan Nadon memsize at videotron.ca
Sun Nov 7 17:30:50 PST 2010


Follow the autoconf directory variables structure.
Currently the value of sgmlrootdir would be incorrect
if the package is configure with --datadir=somewhere_else.
The datarootdir was introduced in Autoconf version 2.60.

Use PACKAGE_VERSION rather than the undocumented VERSION variable.

Signed-off-by: Gaetan Nadon <memsize at videotron.ca>
---
 xorg-sgml-doctools.pc.in |    8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/xorg-sgml-doctools.pc.in b/xorg-sgml-doctools.pc.in
index ae1422a..5a5ed67 100644
--- a/xorg-sgml-doctools.pc.in
+++ b/xorg-sgml-doctools.pc.in
@@ -1,6 +1,8 @@
 prefix=@prefix@
-sgmlrootdir=${prefix}/share/sgml
+datarootdir=@datarootdir@
+datadir=@datadir@
+sgmlrootdir=${datadir}/sgml
 
 Name: xorg-sgml-doctools
-Description: SGML entities for X.Org documentation
-Version: @VERSION@
+Description: Stylesheets and entities for X.Org documentation
+Version: @PACKAGE_VERSION@
-- 
1.6.0.4



More information about the xorg-devel mailing list