summaryrefslogtreecommitdiff
path: root/distrib
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@cvs.openbsd.org>2010-05-08 14:15:30 +0000
committerMatthieu Herrb <matthieu@cvs.openbsd.org>2010-05-08 14:15:30 +0000
commit536829548a41a5098f51fcf7bbb7a36acbd0153d (patch)
treee31d26441f843a778fbab2f2cb5912e2bafd7b19 /distrib
parentca9af72c4f2136d12227a7761f8963ec23ecbd64 (diff)
use INSTALL_DATA in BSD Makefiles. ok oga@
Diffstat (limited to 'distrib')
-rw-r--r--distrib/notes/Makefile8
1 files changed, 3 insertions, 5 deletions
diff --git a/distrib/notes/Makefile b/distrib/notes/Makefile
index 61183f3cc..fe13717fa 100644
--- a/distrib/notes/Makefile
+++ b/distrib/notes/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.4 2007/04/04 15:24:27 aanriot Exp $
+# $OpenBSD: Makefile,v 1.5 2010/05/08 14:15:29 matthieu Exp $
FILE= README.${MACHINE}
@@ -10,12 +10,10 @@ ${FILE}.generated: ${FILE} m4.common
m4 ${.CURDIR}/m4.common ${.CURDIR}/${FILE} > ${FILE}.generated
install: ${FILE}.generated
- ${INSTALL} ${INSTALL_COPY} -o root -g wheel -m 444 ${FILE}.generated \
- ${DESTDIR}/usr/X11R6/README
+ ${INSTALL_DATA} ${FILE}.generated ${DESTDIR}/usr/X11R6/README
.for set in ${sets}
if [ -d ${DESTDIR}/var/db/pkg/${set}-${OSREV} ]; then \
- ${INSTALL} ${INSTALL_COPY} -o root -g wheel -m 444 \
- DESCR.${set} \
+ ${INSTALL_DATA} DESCR.${set} \
${DESTDIR}/var/db/pkg/${set}-${OSREV}/+DESCR; \
${INSTALL} ${INSTALL_COPY} -o root -g wheel -m 755 \
DEINSTALL \