Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Dec 2000 11:49:54 +0200
From:      Sheldon Hearn <sheldonh@uunet.co.za>
To:        Marcel Moolenaar <marcel@cup.hp.com>
Cc:        Benno Rice <benno@freebsd.org>, Marcel Moolenaar <marcel@freebsd.org>, cvs-committers@freebsd.org, cvs-all@freebsd.org, bde@freebsd.org
Subject:   Re: cvs commit: src/share/man/man4/man4.alpha linux.4 Makefile 
Message-ID:  <48234.976614594@axl.fw.uunet.co.za>
In-Reply-To: Your message of "Mon, 11 Dec 2000 18:30:14 EST." <3A356386.285F8576@cup.hp.com> 

next in thread | previous in thread | raw e-mail | index | archive | help


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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?48234.976614594>