Proposed patch to inform users of fetchindex
Kirill Ponomarew
krion at voodoo.oberon.net
Mon Jan 31 14:58:48 PST 2005
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
More information about the freebsd-ports
mailing list