Date: Mon, 21 May 2001 03:18:34 +0200 (CEST) From: Cyrille Lefevre <clefevre@poboxes.com> To: "David W. Chapman Jr." <dwcjr@inethouston.net> Cc: ports@FreeBSD.org Subject: Re: PR Review Message-ID: <200105210118.f4L1IZD10845@gits.dyndns.org> In-Reply-To: <0a9201c0e15f$ccfab8e0$931576d8@inethouston.net>
next in thread | previous in thread | raw e-mail | index | archive | help
David W. Chapman Jr. wrote: > It works great. woaou :) here is the sequence of commands I used to generate the Makefile.man. cd /usr/ports/x11/XFree86-4 # manual pages lists for i in 1 2 3 4 5 6 7 8 9; do grep man/man$i pkg-plist > /tmp/p$i done cd /usr/X11R6 # plain manual pages for i in 1 2 3 4 5 6 7 8 9; do xargs ls -ld < /tmp/p$i | awk '!/->/{print $NF}' | sed 's,man/man'$i'/,,;s/\.gz//g' >| /tmp/m$i done # symlinked manual pages for i in 1 2 3 4 5 6 7 8 9; do xargs ls -ld < /tmp/p$i | awk '/->/{print $NF, $(NF-2)}' | sed 's,man/man'$i'/,,;s/\.gz//g' >| /tmp/l$i done cd /tmp # combine them as needed for i in 1 2 3 4 5 6 7 8 9; do [ -s m$i ] || continue print -n "MAN$i=" sed 's/^/ /;$! s/$/ \\/' m$i done > m print -n "MLINKS=" >> m sed 's/^/ /;$! s/$/ \\/' l[1-9] >> m Cyrille. -- Cyrille Lefevre - 12, Rue de Bizerte 75017 Paris tel/fax: +33 (0)1 45 22 83 85 home: mailto:clefevre@poboxes.com UNIX is user-friendly; it's just particular work: mailto:Cyrille.Lefevre@edf.fr about who it chooses to be friends with. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200105210118.f4L1IZD10845>