summaryrefslogtreecommitdiff
path: root/gnu/usr.bin
diff options
context:
space:
mode:
authorlukem <lukem@NetBSD.org>1999-02-14 13:01:09 +0000
committerlukem <lukem@NetBSD.org>1999-02-14 13:01:09 +0000
commitab482db6a2a4381b3b05074b84c18b080579453e (patch)
tree9107d51cf7bcff62d6893d60d6f44be390d321c7 /gnu/usr.bin
parent8edcd039695eee90552d97d78bd6aaafa94a44b5 (diff)
* fix pax to install in /usr/share/ldscripts not /usr/share/ldscripts/ldscripts
* chmod/chown files after pax
Diffstat (limited to 'gnu/usr.bin')
-rw-r--r--gnu/usr.bin/ld.new/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/gnu/usr.bin/ld.new/Makefile b/gnu/usr.bin/ld.new/Makefile
index e7b09d447f9..ce54a69935c 100644
--- a/gnu/usr.bin/ld.new/Makefile
+++ b/gnu/usr.bin/ld.new/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 1999/02/09 17:59:36 tv Exp $
+# $NetBSD: Makefile,v 1.9 1999/02/14 13:01:09 lukem Exp $
# for OBJECT_FMT
.include <bsd.own.mk>
@@ -108,7 +108,10 @@ ldemul-list.h: Makefile
.endif
afterinstall:
- pax -rw ldscripts ${DESTDIR}${SCRIPTDIR}
+ (cd ldscripts ; pax -rw . ${DESTDIR}${SCRIPTDIR})
+ chown -R ${BINOWN}:${BINGRP} ${DESTDIR}${SCRIPTDIR}
+ find ${DESTDIR}${SCRIPTDIR} -type f | xargs chmod a=rX
+ find ${DESTDIR}${SCRIPTDIR} -type d | xargs chmod u=rwX,go=rX
cleanprog: __cleanldscripts
__cleanldscripts: