aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKristian Høgsberg2009-11-17 08:23:52 -0600
committerKristian Høgsberg2009-11-17 08:23:52 -0600
commita99680384ad3daaceee05b3b40dc492cf0e52a0f (patch)
treeb3fd2d3b2bc50813fb29327d36758e11d229dd90 /Makefile.am
parent89cc98c0d5c1b43a883f13210c472339dde1a4cf (diff)
downloadexternal-libgbm-a99680384ad3daaceee05b3b40dc492cf0e52a0f.tar.gz
external-libgbm-a99680384ad3daaceee05b3b40dc492cf0e52a0f.tar.xz
external-libgbm-a99680384ad3daaceee05b3b40dc492cf0e52a0f.zip
Add makefile rule to copy headers from kernel tree
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am7
1 files changed, 7 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index 5b1ae60a..48a49e21 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -28,3 +28,10 @@ pkgconfigdir = @pkgconfigdir@
28pkgconfig_DATA = libdrm.pc 28pkgconfig_DATA = libdrm.pc
29 29
30EXTRA_DIST = libdrm.pc.in 30EXTRA_DIST = libdrm.pc.in
31
32copy-headers :
33 cp -r $(kernel_source)/usr/include/drm $(top_srcdir)/include
34
35commit-headers : copy-headers
36 git add include
37 git commit -am "Copy headers from kernel $$(GIT_DIR=$(kernel_source)/.git git describe)"