From owner-cvs-all Tue Dec 12 1:51:13 2000 From owner-cvs-all@FreeBSD.ORG Tue Dec 12 01:51:10 2000 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from lists01.iafrica.com (lists01.iafrica.com [196.7.0.141]) by hub.freebsd.org (Postfix) with ESMTP id 8B5C037B402; Tue, 12 Dec 2000 01:51:04 -0800 (PST) Received: from nwl.fw.uunet.co.za ([196.31.2.162]) by lists01.iafrica.com with esmtp (Exim 3.12 #2) id 145m5F-0001Oc-00; Tue, 12 Dec 2000 11:50:53 +0200 Received: (from nobody@localhost) by nwl.fw.uunet.co.za (8.8.8/8.6.9) id LAA04772; Tue, 12 Dec 2000 11:50:52 +0200 (SAST) Received: by nwl.fw.uunet.co.za via recvmail id 4551; Tue Dec 12 11:49:54 2000 Received: from sheldonh (helo=axl.fw.uunet.co.za) by axl.fw.uunet.co.za with local-esmtp (Exim 3.16 #1) id 145m4I-000CXz-00; Tue, 12 Dec 2000 11:49:54 +0200 From: Sheldon Hearn To: Marcel Moolenaar Cc: Benno Rice , Marcel Moolenaar , cvs-committers@freebsd.org, cvs-all@freebsd.org, bde@freebsd.org Subject: Re: cvs commit: src/share/man/man4/man4.alpha linux.4 Makefile In-reply-to: Your message of "Mon, 11 Dec 2000 18:30:14 EST." <3A356386.285F8576@cup.hp.com> Date: Tue, 12 Dec 2000 11:49:54 +0200 Message-ID: <48234.976614594@axl.fw.uunet.co.za> Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, 11 Dec 2000 18:30:14 EST, Marcel Moolenaar wrote: > It's a solution, but it seems strange to be able to do `man foo' only to > find out at the end that everything you just read doesn't apply to you > (assuming the section is at the end :-) I'm pretty sure we can come up with some Makefile magic that does the right thing. This would be easier once I get buy-in on the included patch. I sent it to bde (who brought the issue up) in private mail but haven't had feedback yet. Ciao, Sheldon. Index: Makefile =================================================================== RCS file: /home/ncvs/src/share/man/man4/Makefile,v retrieving revision 1.113 diff -u -d -r1.113 Makefile --- Makefile 2000/12/06 08:45:03 1.113 +++ Makefile 2000/12/06 11:11:55 @@ -194,8 +194,13 @@ MLINKS+=yp.4 YP.4 yp.4 NIS.4 yp.4 nis.4 # XXX NOT IMPORTED: man4.hp300 man4.sparc man4.tahoe man4.vax -SUBDIR= man4.i386 -SUBDIR+= man4.alpha + +.if ${MACHINE_ARCH} == "i386" +SUBDIR= man4.i386 +.elif ${MACHINE_ARCH} == "alpha" +SUBDIR= man4.alpha +.endif + .if make(maninstall) maninstall:: _SUBDIR .endif To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message