From owner-freebsd-arch Tue Oct 3 12:57:26 2000 Delivered-To: freebsd-arch@freebsd.org Received: from dragon.nuxi.com (trang.nuxi.com [209.152.133.57]) by hub.freebsd.org (Postfix) with ESMTP id 2E7B937B503 for ; Tue, 3 Oct 2000 12:57:20 -0700 (PDT) Received: (from obrien@localhost) by dragon.nuxi.com (8.9.3/8.9.1) id MAA03667 for arch@freebsd.org; Tue, 3 Oct 2000 12:57:19 -0700 (PDT) (envelope-from obrien) Date: Tue, 3 Oct 2000 12:57:19 -0700 From: "David O'Brien" To: arch@freebsd.org Subject: Re: moving manpages out of /sys/modules Message-ID: <20001003125719.A3635@dragon.nuxi.com> Reply-To: obrien@freebsd.org References: <20001003105319.B64436@dragon.nuxi.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: <20001003105319.B64436@dragon.nuxi.com>; from obrien@freebsd.org on Tue, Oct 03, 2000 at 10:53:19AM -0700 X-Operating-System: FreeBSD 5.0-CURRENT Organization: The NUXI BSD group X-Pgp-Rsa-Fingerprint: B7 4D 3E E9 11 39 5F A3 90 76 5D 69 58 D9 98 7A X-Pgp-Rsa-Keyid: 1024/34F9F9D5 Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, Oct 03, 2000 at 10:53:19AM -0700, David O'Brien wrote: > The problem is that one cannot build a kernel and install it in > isolation: Which of these two patches is most stomachable? Index: ibcs2/Makefile =================================================================== RCS file: /home/ncvs/src/sys/modules/ibcs2/Makefile,v retrieving revision 1.28 diff -u -r1.28 Makefile --- ibcs2/Makefile 2000/05/27 01:13:48 1.28 +++ ibcs2/Makefile 2000/10/03 19:49:29 @@ -8,13 +8,17 @@ ibcs2_isc.c ibcs2_isc_sysent.c \ ibcs2_msg.c ibcs2_other.c ibcs2_sysi86.c ibcs2_sysvec.c \ vnode_if.h opt_spx_hack.h +.if !defined(MODONLY) MAN8= ibcs2.8 +.endif CFLAGS+= -DCOMPAT_IBCS2 EXPORT_SYMS= _ibcs2_mod _ibcs2_emul_path _ibcs2_svr3_sysvec +.if !defined(MODONLY) afterinstall: ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \ ${.CURDIR}/ibcs2.sh ${DESTDIR}/usr/sbin/ibcs2 +.endif .include Index: joy/Makefile =================================================================== RCS file: /home/ncvs/src/sys/modules/joy/Makefile,v retrieving revision 1.17 diff -u -r1.17 Makefile --- joy/Makefile 2000/05/27 01:13:51 1.17 +++ joy/Makefile 2000/10/03 19:47:12 @@ -3,10 +3,14 @@ .PATH: ${.CURDIR}/../../isa KMOD = joy SRCS = bus_if.h device_if.h isa_if.h joy.c +.if !defined(MODONLY) MAN8 = joy.8 +.endif +.if !defined(MODONLY) afterinstall: ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \ ${.CURDIR}/joy.sh ${DESTDIR}/usr/bin/joy +.endif .include Index: linux/Makefile =================================================================== RCS file: /home/ncvs/src/sys/modules/linux/Makefile,v retrieving revision 1.40 diff -u -r1.40 Makefile --- linux/Makefile 2000/09/06 20:21:55 1.40 +++ linux/Makefile 2000/10/03 19:49:50 @@ -10,7 +10,9 @@ linux_dummy.c linux_sysent.c linux_sysvec.c linux_util.c \ opt_compat.h opt_linux.h opt_vmpage.h vnode_if.h OBJS= linux_locore.o +.if !defined(MODONLY) MAN8= linux.8 +.endif .if ${MACHINE_ARCH} != "alpha" SRCS+= imgact_linux.c linux_ipc.c @@ -35,8 +37,10 @@ opt_compat.h: echo "#define COMPAT_43 1" > opt_compat.h +.if !defined(MODONLY) afterinstall: ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \ ${.CURDIR}/linux.sh ${DESTDIR}/usr/sbin/linux +.endif .include Index: svr4/Makefile =================================================================== RCS file: /home/ncvs/src/sys/modules/svr4/Makefile,v retrieving revision 1.18 diff -u -r1.18 Makefile --- svr4/Makefile 2000/08/31 22:54:01 1.18 +++ svr4/Makefile 2000/10/03 19:50:38 @@ -12,7 +12,9 @@ svr4_stream.c svr4_socket.c svr4_sockio.c svr4_machdep.c \ svr4_resource.c svr4_ipc.c OBJS= svr4_locore.o +.if !defined(MODONLY) MAN8= svr4.8 +.endif EXPORT_SYMS=_svr4_mod CLEANFILES= svr4_assym.h svr4_genassym.o @@ -39,8 +41,10 @@ echo "#define DEBUG_SVR4 1" >> opt_svr4.h .endif +.if !defined(MODONLY) afterinstall: ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \ ${.CURDIR}/svr4.sh ${DESTDIR}/usr/sbin/svr4 +.endif .include ===[ OR ]=================== Index: ibcs2/Makefile =================================================================== RCS file: /home/ncvs/src/sys/modules/ibcs2/Makefile,v retrieving revision 1.28 diff -u -r1.28 Makefile --- ibcs2/Makefile 2000/05/27 01:13:48 1.28 +++ ibcs2/Makefile 2000/10/03 19:55:25 @@ -8,13 +8,17 @@ ibcs2_isc.c ibcs2_isc_sysent.c \ ibcs2_msg.c ibcs2_other.c ibcs2_sysi86.c ibcs2_sysvec.c \ vnode_if.h opt_spx_hack.h +.if exists(${DESTDIR}/usr/share/man/man8) MAN8= ibcs2.8 +.endif CFLAGS+= -DCOMPAT_IBCS2 EXPORT_SYMS= _ibcs2_mod _ibcs2_emul_path _ibcs2_svr3_sysvec +.if exists(${DESTDIR}/usr/bin) afterinstall: ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \ ${.CURDIR}/ibcs2.sh ${DESTDIR}/usr/sbin/ibcs2 +.endif .include Index: joy/Makefile =================================================================== RCS file: /home/ncvs/src/sys/modules/joy/Makefile,v retrieving revision 1.17 diff -u -r1.17 Makefile --- joy/Makefile 2000/05/27 01:13:51 1.17 +++ joy/Makefile 2000/10/03 19:55:15 @@ -3,10 +3,14 @@ .PATH: ${.CURDIR}/../../isa KMOD = joy SRCS = bus_if.h device_if.h isa_if.h joy.c +.if exists(${DESTDIR}/usr/share/man/man8) MAN8 = joy.8 +.endif +.if exists(${DESTDIR}/usr/bin) afterinstall: ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \ ${.CURDIR}/joy.sh ${DESTDIR}/usr/bin/joy +.endif .include Index: linux/Makefile =================================================================== RCS file: /home/ncvs/src/sys/modules/linux/Makefile,v retrieving revision 1.40 diff -u -r1.40 Makefile --- linux/Makefile 2000/09/06 20:21:55 1.40 +++ linux/Makefile 2000/10/03 19:55:21 @@ -10,7 +10,9 @@ linux_dummy.c linux_sysent.c linux_sysvec.c linux_util.c \ opt_compat.h opt_linux.h opt_vmpage.h vnode_if.h OBJS= linux_locore.o +.if exists(${DESTDIR}/usr/share/man/man8) MAN8= linux.8 +.endif .if ${MACHINE_ARCH} != "alpha" SRCS+= imgact_linux.c linux_ipc.c @@ -35,8 +37,10 @@ opt_compat.h: echo "#define COMPAT_43 1" > opt_compat.h +.if exists(${DESTDIR}/usr/bin) afterinstall: ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \ ${.CURDIR}/linux.sh ${DESTDIR}/usr/sbin/linux +.endif .include Index: svr4/Makefile =================================================================== RCS file: /home/ncvs/src/sys/modules/svr4/Makefile,v retrieving revision 1.18 diff -u -r1.18 Makefile --- svr4/Makefile 2000/08/31 22:54:01 1.18 +++ svr4/Makefile 2000/10/03 19:55:31 @@ -12,7 +12,9 @@ svr4_stream.c svr4_socket.c svr4_sockio.c svr4_machdep.c \ svr4_resource.c svr4_ipc.c OBJS= svr4_locore.o +.if exists(${DESTDIR}/usr/share/man/man8) MAN8= svr4.8 +.endif EXPORT_SYMS=_svr4_mod CLEANFILES= svr4_assym.h svr4_genassym.o @@ -39,8 +41,10 @@ echo "#define DEBUG_SVR4 1" >> opt_svr4.h .endif +.if exists(${DESTDIR}/usr/bin) afterinstall: ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \ ${.CURDIR}/svr4.sh ${DESTDIR}/usr/sbin/svr4 +.endif .include To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message