summaryrefslogtreecommitdiff
path: root/include/Makefile
diff options
context:
space:
mode:
authorJun-ichiro itojun Hagino <itojun@cvs.openbsd.org>2002-06-09 18:33:37 +0000
committerJun-ichiro itojun Hagino <itojun@cvs.openbsd.org>2002-06-09 18:33:37 +0000
commite5576dd1fb0094c1e580a47817cd6162dc3fb390 (patch)
tree07b5236b3076bb7b9dc69cb5c1ea7db86b7accdc /include/Makefile
parente87a6af16c363a3575f35a408f785dfae89e5f7e (diff)
pax -s <regex> is botched, don't use it.
Diffstat (limited to 'include/Makefile')
-rw-r--r--include/Makefile12
1 files changed, 5 insertions, 7 deletions
diff --git a/include/Makefile b/include/Makefile
index 56b61d26a2e..812d611f83f 100644
--- a/include/Makefile
+++ b/include/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.109 2002/06/07 17:46:55 drahn Exp $
+# $OpenBSD: Makefile,v 1.110 2002/06/09 18:33:36 itojun Exp $
# $NetBSD: Makefile,v 1.59 1996/05/15 21:36:43 jtc Exp $
# @(#)Makefile 5.45.1.1 (Berkeley) 5/6/91
@@ -132,16 +132,14 @@ copies:
cd ${DESTDIR}/usr/include && rm -rf ${MACHINE} ${MACHINE_ARCH} machine
${INSTALL} -d -o ${BINOWN} -g ${BINGRP} -m 755 \
${DESTDIR}/usr/include/${MACHINE}
- pax -rw -pa -s "|\.\./sys/arch/${MACHINE}/include||" \
- ../sys/arch/${MACHINE}/include/*.h \
- ${DESTDIR}/usr/include/${MACHINE}
+ (cd ../sys/arch/${MACHINE}/include; \
+ pax -rw -pa *.h ${DESTDIR}/usr/include/${MACHINE})
if test ${MACHINE} != ${MACHINE_ARCH} -a \
-d ../sys/arch/${MACHINE_ARCH}/include; then \
${INSTALL} -d -o ${BINOWN} -g ${BINGRP} -m 755 \
${DESTDIR}/usr/include/${MACHINE_ARCH}; \
- pax -rw -pa -s "|\.\./sys/arch/${MACHINE_ARCH}/include||" \
- ../sys/arch/${MACHINE_ARCH}/include/*.h \
- ${DESTDIR}/usr/include/${MACHINE_ARCH}; \
+ (cd ../sys/arch/${MACHINE_ARCH}/include; \
+ pax -rw -pa *.h ${DESTDIR}/usr/include/${MACHINE_ARCH}); \
fi
ln -sf ${MACHINE} ${DESTDIR}/usr/include/machine; \