summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2010-03-17 12:46:21 -0700
committerEric Anholt <eric@anholt.net>2010-03-17 12:49:10 -0700
commitef36c9a3b2828f5a11feda9e4d2708bf3a4a7a52 (patch)
tree834f17eb5ba2359f07f5292277f88b31914d3dec
parent976e779f9cd0571dd2c218580485b39d37bd18a0 (diff)
intel: Install the header file in the libdrm/ directory.
Suggested-by: RĂ©mi Cardona <remi@gentoo.org> Signed-off-by: Eric Anholt <eric@anholt.net>
-rw-r--r--intel/Makefile.am2
-rw-r--r--intel/libdrm_intel.pc.in2
2 files changed, 2 insertions, 2 deletions
diff --git a/intel/Makefile.am b/intel/Makefile.am
index 9add5050..1ae92f86 100644
--- a/intel/Makefile.am
+++ b/intel/Makefile.am
@@ -43,7 +43,7 @@ libdrm_intel_la_SOURCES = \
mm.c \
mm.h
-libdrm_intelincludedir = ${includedir}
+libdrm_intelincludedir = ${includedir}/libdrm
libdrm_intelinclude_HEADERS = intel_bufmgr.h
pkgconfig_DATA = libdrm_intel.pc
diff --git a/intel/libdrm_intel.pc.in b/intel/libdrm_intel.pc.in
index e8080d98..3ba67933 100644
--- a/intel/libdrm_intel.pc.in
+++ b/intel/libdrm_intel.pc.in
@@ -8,4 +8,4 @@ Description: Userspace interface to kernel DRM services
Version: @PACKAGE_VERSION@
Requires: libdrm
Libs: -L${libdir} -ldrm_intel
-Cflags: -I${includedir}
+Cflags: -I${includedir} -I${includedir}/libdrm