summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJamey Sharp <jamey@minilop.net>2006-09-25 03:27:27 -0700
committerJamey Sharp <jamey@minilop.net>2006-09-25 03:27:27 -0700
commit0608038f1213086405a4204cc0c6264a15e32a63 (patch)
tree08135645db1fe1815abb311ff05e47a0c9e73f25
parent5f14bbec75abbbc3d2585db0f53fcfe8dbdfa625 (diff)
downloadxcb-proto-0608038f1213086405a4204cc0c6264a15e32a63.tar.gz
xcb-proto-0608038f1213086405a4204cc0c6264a15e32a63.tar.bz2
xcb-proto-0608038f1213086405a4204cc0c6264a15e32a63.zip
Move XML protocol descriptions to $datadir/xcb (generally $prefix/share/xcb).
-rw-r--r--configure.ac2
-rw-r--r--xcb-proto.pc.in3
2 files changed, 3 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index 5c1044d..ba1eb32 100644
--- a/configure.ac
+++ b/configure.ac
@@ -14,7 +14,7 @@ if test "$XMLLINT" = "no"; then
AC_MSG_WARN([xmllint not found; unable to validate against schema.])
fi
-xcbincludedir='${includedir}/X11/XCB'
+xcbincludedir='${datadir}/xcb'
AC_SUBST(xcbincludedir)
AC_OUTPUT([Makefile src/Makefile xcb-proto.pc])
diff --git a/xcb-proto.pc.in b/xcb-proto.pc.in
index 9e9d23d..08977f9 100644
--- a/xcb-proto.pc.in
+++ b/xcb-proto.pc.in
@@ -1,5 +1,6 @@
prefix=@prefix@
-includedir=@includedir@
+datarootdir=@datarootdir@
+datadir=@datadir@
xcbincludedir=@xcbincludedir@
Name: XCB Proto