Browse Source

pax -s <regex> is botched, don't use it.

OPENBSD_3_2
itojun 22 years ago
parent
commit
ba0bf33dd5
1 changed files with 5 additions and 7 deletions
  1. +5
    -7
      src/include/Makefile

+ 5
- 7
src/include/Makefile View File

@ -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 $ # $NetBSD: Makefile,v 1.59 1996/05/15 21:36:43 jtc Exp $
# @(#)Makefile 5.45.1.1 (Berkeley) 5/6/91 # @(#)Makefile 5.45.1.1 (Berkeley) 5/6/91
@ -132,16 +132,14 @@ copies:
cd ${DESTDIR}/usr/include && rm -rf ${MACHINE} ${MACHINE_ARCH} machine cd ${DESTDIR}/usr/include && rm -rf ${MACHINE} ${MACHINE_ARCH} machine
${INSTALL} -d -o ${BINOWN} -g ${BINGRP} -m 755 \ ${INSTALL} -d -o ${BINOWN} -g ${BINGRP} -m 755 \
${DESTDIR}/usr/include/${MACHINE} ${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 \ if test ${MACHINE} != ${MACHINE_ARCH} -a \
-d ../sys/arch/${MACHINE_ARCH}/include; then \ -d ../sys/arch/${MACHINE_ARCH}/include; then \
${INSTALL} -d -o ${BINOWN} -g ${BINGRP} -m 755 \ ${INSTALL} -d -o ${BINOWN} -g ${BINGRP} -m 755 \
${DESTDIR}/usr/include/${MACHINE_ARCH}; \ ${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 fi
ln -sf ${MACHINE} ${DESTDIR}/usr/include/machine; \ ln -sf ${MACHINE} ${DESTDIR}/usr/include/machine; \


Loading…
Cancel
Save