Date: Mon, 31 Jan 2005 23:58:50 +0100 From: Kirill Ponomarew <krion@voodoo.oberon.net> To: Doug Barton <DougB@FreeBSD.org> Cc: freebsd-ports@freebsd.org Subject: Re: Proposed patch to inform users of fetchindex Message-ID: <20050131225850.GD81808@voodoo.oberon.net> In-Reply-To: <20050131143802.X1177@ync.qbhto.arg> References: <20050131143802.X1177@ync.qbhto.arg>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Jan 31, 2005 at 02:39:16PM -0800, Doug Barton wrote: > I can't help but think that the majority of users try to build their own > index because they don't know that there is a better alternative. What > would y'all think of the following patch? > > Yes, I'm serious, > > index: > + @${ECHO} 'Building an index file is a non-trivial task.' > + @${ECHO} '' > + @${ECHO} 'Most users would be better off using the fetchindex target' > + @${ECHO} 'instead, which will download and install an index file that' > + @${ECHO} 'is produced by the ports building system on an hourly basis.' > + @${ECHO} 'If you are sure you want to make an index yourself, use the' > + @${ECHO} 'realindex target.' > + > +realindex: > @rm -f ${.CURDIR}/${INDEXFILE} > @cd ${.CURDIR} && make ${.CURDIR}/${INDEXFILE} Maybe it's even better to mention 'make fetchindex' instead of 'fetchindex target', but on the whole I like this idea. -Kirill
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050131225850.GD81808>