From a99680384ad3daaceee05b3b40dc492cf0e52a0f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kristian=20H=C3=B8gsberg?= Date: Tue, 17 Nov 2009 09:23:52 -0500 Subject: Add makefile rule to copy headers from kernel tree --- Makefile.am | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'Makefile.am') diff --git a/Makefile.am b/Makefile.am index 5b1ae60a..48a49e21 100644 --- a/Makefile.am +++ b/Makefile.am @@ -28,3 +28,10 @@ pkgconfigdir = @pkgconfigdir@ pkgconfig_DATA = libdrm.pc EXTRA_DIST = libdrm.pc.in + +copy-headers : + cp -r $(kernel_source)/usr/include/drm $(top_srcdir)/include + +commit-headers : copy-headers + git add include + git commit -am "Copy headers from kernel $$(GIT_DIR=$(kernel_source)/.git git describe)" -- cgit v1.2.3