diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2013-03-21 06:48:49 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2013-03-21 06:48:49 +0000 |
commit | 86bfb4dfbbb0e2ecb058c59b752c1870a90dfc14 (patch) | |
tree | 775200e1b1dea7c0a0db829b22ff0be3dcbadf01 | |
parent | cceb5a975068fb85a72a11e3ee2d663973ab269c (diff) |
Do not install the dev/pci/drm/i915 directory to /usr/include
-rw-r--r-- | include/Makefile | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/include/Makefile b/include/Makefile index 597ea8fd159..3014fe09c58 100644 --- a/include/Makefile +++ b/include/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.168 2013/03/18 19:15:04 deraadt Exp $ +# $OpenBSD: Makefile,v 1.169 2013/03/21 06:48:48 deraadt Exp $ # $NetBSD: Makefile,v 1.59 1996/05/15 21:36:43 jtc Exp $ # @(#)Makefile 5.45.1.1 (Berkeley) 5/6/91 @@ -131,8 +131,9 @@ copies: done cd ../sys; \ pax -rw -pa -L \ - `find ${LDIRS} -follow -type f -name '*.h' \ - '!' -path 'dev/microcode/*' -print` ${DESTDIR}/usr/include + `find ${LDIRS} -follow -type f -name '*.h' '!' \ + '(' -path 'dev/microcode/*' -or -path 'dev/pci/drm/i915/*' ')' \ + -print` ${DESTDIR}/usr/include cd ${DESTDIR}/usr/include && rm -rf ${MACHINE} ${MACHINE_CPU} machine ${INSTALL} -d -o ${BINOWN} -g ${BINGRP} -m 755 \ ${DESTDIR}/usr/include/${MACHINE} |