diff options
author | Matthieu Herrb <matthieu@cvs.openbsd.org> | 2010-05-08 14:15:30 +0000 |
---|---|---|
committer | Matthieu Herrb <matthieu@cvs.openbsd.org> | 2010-05-08 14:15:30 +0000 |
commit | 536829548a41a5098f51fcf7bbb7a36acbd0153d (patch) | |
tree | e31d26441f843a778fbab2f2cb5912e2bafd7b19 /lib/libdrm | |
parent | ca9af72c4f2136d12227a7761f8963ec23ecbd64 (diff) |
use INSTALL_DATA in BSD Makefiles. ok oga@
Diffstat (limited to 'lib/libdrm')
-rw-r--r-- | lib/libdrm/Makefile | 5 | ||||
-rw-r--r-- | lib/libdrm/intel/Makefile | 5 |
2 files changed, 4 insertions, 6 deletions
diff --git a/lib/libdrm/Makefile b/lib/libdrm/Makefile index afc1e438e..9c1ccb635 100644 --- a/lib/libdrm/Makefile +++ b/lib/libdrm/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.4 2009/06/27 10:02:53 matthieu Exp $ +# $OpenBSD: Makefile,v 1.5 2010/05/08 14:15:29 matthieu Exp $ .include <bsd.xconf.mk> .include "${.CURDIR}/Makefile.inc" @@ -30,8 +30,7 @@ SRCS= xf86drm.c \ includes: _SUBDIRUSE cd ${.CURDIR}; for i in ${INCS}; do \ j="cmp -s $$i ${DESTDIR}${INCSDIR}/$$i || \ - ${INSTALL} ${INSTALL_COPY} -o ${BINOWN} -g ${BINGRP} -m 444 \ - $$i ${DESTDIR}${INCSDIR}/"; \ + ${INSTALL_DATA} $$i ${DESTDIR}${INCSDIR}/"; \ echo "\tinstalling $$i"; \ eval "$$j"; \ done diff --git a/lib/libdrm/intel/Makefile b/lib/libdrm/intel/Makefile index b7401c961..0a942340d 100644 --- a/lib/libdrm/intel/Makefile +++ b/lib/libdrm/intel/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.2 2009/06/27 10:02:53 matthieu Exp $ +# $OpenBSD: Makefile,v 1.3 2010/05/08 14:15:29 matthieu Exp $ .include <bsd.xconf.mk> LIB= drm_intel @@ -24,8 +24,7 @@ LDADD+= -L${X11BASE}/lib -lX11 includes: cd ${.CURDIR}; for i in ${INCS}; do \ j="cmp -s $$i ${DESTDIR}${INCSDIR}/$$i || \ - ${INSTALL} ${INSTALL_COPY} -o ${BINOWN} -g ${BINGRP} -m 444 \ - $$i ${DESTDIR}${INCSDIR}/"; \ + ${INSTALL_DATA} $$i ${DESTDIR}${INCSDIR}/"; \ echo "\tinstalling $$i"; \ eval "$$j"; \ done |