Generating INDEX file suitable for (media)/packages/INDEX ?
6461.rdean at gmail.com
Fri Dec 21 17:18:42 EST 2007
On Dec 21, 2007 4:22 PM, Joe Marcus Clarke <marcus at marcuscom.com> wrote:
> Ryan Dean wrote:
> > So having said all that, does anyone out there have such a hook
> > or should I go and write one? Or, am I heading down the wrong path
> > and there is an easier/better way of generating this INDEX file?
> You'll want to run the hook before or after the build completes so
> you'll have Jail and PortsTree info in order to build an accurate INDEX.
> The hook could simply call make index after exporting the proper
> variables (i.e. PORTSDIR, INDEXFILE, etc.).
Hrrm, okay. I've started to experiment with the scripts, but it looks like
'make index' and even 'make describe' requires perl in order to complete.
Is it safe to pkg_add and pkg_delete from the hooks, without contaminating
the build directory?
-Ryan T. Dean
PS - Joe, sorry for the double post, I forgot to reply-all for the
More information about the tinderbox-list