From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: <116f80ebe8eb00f5abc98350c8159bb7@yyc.orthanc.ca> References: <116f80ebe8eb00f5abc98350c8159bb7@yyc.orthanc.ca> Date: Fri, 26 Mar 2010 09:56:07 -0700 Message-ID: <13426df11003260956v7be21565vadb9e5b6c3f25d81@mail.gmail.com> From: ron minnich To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Re: [9fans] Man pages for add-ons Topicbox-Message-UUID: f3e7f15e-ead5-11e9-9d60-3106f5b1d025 On Fri, Mar 26, 2010 at 9:45 AM, Lyndon Nerenberg (VE6BBM/VE7TFX) wrote: > You're making this way more complicated than it needs to be. > > For 3rd party stuff, I put the source tree in /usr/lyndon/src/, > adjust the mkfiles to install in /usr/lyndon/bin/$objtype, and say > 'mk install'. I keep a shadow man tree under /usr/lyndon/lib/man, > and then bind it all on top of the system directories: > > bind -a $home/bin/rc =A0 =A0 =A0 =A0 =A0 =A0/bin > bind -a $home/bin/rcaux =A0 =A0 =A0 =A0 /bin/aux > bind -a $home/bin/$cputype =A0 =A0 =A0/bin > bind -a $home/lib/man/1 =A0 =A0 =A0 =A0 /sys/man/1 > bind -a $home/lib/man/2 =A0 =A0 =A0 =A0 /sys/man/2 > bind -a $home/lib/man/3 =A0 =A0 =A0 =A0 /sys/man/3 > bind -a $home/lib/man/4 =A0 =A0 =A0 =A0 /sys/man/4 > bind -a $home/lib/man/5 =A0 =A0 =A0 =A0 /sys/man/5 > bind -a $home/lib/man/6 =A0 =A0 =A0 =A0 /sys/man/6 > bind -a $home/lib/man/7 =A0 =A0 =A0 =A0 /sys/man/7 > bind -a $home/lib/man/8 =A0 =A0 =A0 =A0 /sys/man/8 > > (I use this for contrib packages as well, after getting burned a few > times with contrib stuff breaking builds in /sys/src. =A0Rather than > use the package tool I copy the sources into $home/src and build as > above. =A0The extra work is minimal.) > I'm doing the same here, same reasons. Works fine. And, yes, I had the same issues with contrib stuff breaking mk nuke all in /sys/src. I don't put any contrib src in /sys any more -- unless it is via bind. thanks ron