Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Jan 2002 19:53:33 +0200
From:      Ruslan Ermilov <ru@FreeBSD.org>
To:        assar@FreeBSD.org
Cc:        freebsd-doc@FreeBSD.org
Subject:   Re: docs/33645: k5list(1) contains many incorrect "klist" entries.
Message-ID:  <20020123195333.A22346@sunbay.com>
In-Reply-To: <5l1ygh801k.fsf@assaris.sics.se>
References:  <200201161505.g0GF5Hp52703@freefall.freebsd.org> <5l665t80hp.fsf@assaris.sics.se> <5l1ygh801k.fsf@assaris.sics.se>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Jan 23, 2002 at 06:11:35PM +0100, assar@FreeBSD.org wrote:
> I wrote:
> > <ru@FreeBSD.org> writes:
> > > Assar, could you please fix this and commit the fix on the vendor
> > > and RELENG_4 branches (if re@ approves).
> > 
> > My proposed patch for this is included below.
> 
> Which I dropped, so here it is.
> 
> /assar
> 
Besides some bugs in Makefiles (please test them with "make all-man"),
may I suggest that you use MANFILTER to tweak the contents of manpages
rather than patching them directly on the HEAD branch and taking them
off the vendor branch?  Something like this:

Index: Makefile
===================================================================
RCS file: /home/ncvs/src/kerberos5/usr.bin/k5admin/Makefile,v
retrieving revision 1.6
diff -u -r1.6 Makefile
--- Makefile	2001/02/13 16:56:59	1.6
+++ Makefile	2002/01/23 17:50:34
@@ -50,7 +50,8 @@
 		${LIBKADM5CLNT} ${LIBKADM5SRV} ${LIBHDB} \
 		${LIBASN1} ${LIBCRYPTO} ${LIBCRYPT} ${LIBMD} ${LIBCOM_ERR} \
 		${LIBSL} ${LIBREADLINE}
-NOMAN=		yes
+MAN=		k5admin.8
+MANFILTER=	sed -e's,KADMIN,K5ADMIN,g' -e's,kadmin,k5admin,g'
 
 .include <bsd.prog.mk>
 
@@ -70,3 +71,8 @@
 
 CLEANFILES+=	kadm5/private.h kadm5/admin.h kadm5/kadm5_err.h
 CLEANDIRS+=	kadm5
+
+k5admin.8: kadmin.8
+	ln -fs ${.ALLSRC} ${.TARGET}
+
+CLEANFILES+=	k5admin.8

Perhaps, you should use a single MANFILTER definition in
kerberos5/Makefile.inc that would covert all manpage renames.


Cheers,
-- 
Ruslan Ermilov		Oracle Developer/DBA,
ru@sunbay.com		Sunbay Software AG,
ru@FreeBSD.org		FreeBSD committer,
+380.652.512.251	Simferopol, Ukraine

http://www.FreeBSD.org	The Power To Serve
http://www.oracle.com	Enabling The Information Age

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-doc" in the body of the message




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