summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authormrg <mrg@NetBSD.org>1999-07-24 09:09:10 +0000
committermrg <mrg@NetBSD.org>1999-07-24 09:09:10 +0000
commit93ff719d8ca527b38e1e3ce2a587df4d5d4b6e01 (patch)
treee4a9408ce1ed1dd5ee6ebfb653173de72a1ab8e4 /gnu
parente7bc6284b08cfb89fc4b694805adb1b5b5bc3035 (diff)
enforce MKSHARE
Diffstat (limited to 'gnu')
-rw-r--r--gnu/usr.bin/ld.new/Makefile6
-rw-r--r--gnu/usr.bin/texinfo/Makefile4
2 files changed, 8 insertions, 2 deletions
diff --git a/gnu/usr.bin/ld.new/Makefile b/gnu/usr.bin/ld.new/Makefile
index fedcbfc7376..c2cf0d72acc 100644
--- a/gnu/usr.bin/ld.new/Makefile
+++ b/gnu/usr.bin/ld.new/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.12 1999/04/30 15:12:57 kleink Exp $
+# $NetBSD: Makefile,v 1.13 1999/07/24 09:09:39 mrg Exp $
# for OBJECT_FMT
.include <bsd.own.mk>
@@ -120,11 +120,15 @@ ldemul-list.h: Makefile
done
.endif
+.include <bsd.own.mk>
+
afterinstall:
+.if ${MKSHARE} != "no"
(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
+.endif
cleanprog: __cleanldscripts
__cleanldscripts:
diff --git a/gnu/usr.bin/texinfo/Makefile b/gnu/usr.bin/texinfo/Makefile
index 9ce5555815d..075117a1f3e 100644
--- a/gnu/usr.bin/texinfo/Makefile
+++ b/gnu/usr.bin/texinfo/Makefile
@@ -1,11 +1,13 @@
-# $NetBSD: Makefile,v 1.3 1999/05/31 14:17:44 kleink Exp $
+# $NetBSD: Makefile,v 1.4 1999/07/24 09:09:10 mrg Exp $
.include <bsd.own.mk>
SUBDIR= common info install-info makeinfo texi2dvi texindex
+.if ${MKSHARE} != "no"
FILESDIR= /usr/share/misc
FILES= epsf.tex texinfo.tex
+.endif
.if ${MKNLS} != "no"
.for F in de.gmo fr.gmo