fs-traverse

Mark Brethen mark.brethen at gmail.com
Sat Dec 31 08:33:14 PST 2011


Does,

eval copy [glob -directory ${worksrcpath}/doc/manual {*.tex,*.sh,*.*.cfg,README} ${docdir}/manual

accomplish the same result as

eval copy [glob ${worksrcpath}/doc/manual/*.tex] ${docdir}/manual
xinstall -W ${worksrcpath}/doc/manual \
          mkhtml.sh \
          mkpdf.sh \
          README \
          reduce.cfg \
          ${docdir}/manual

###

-Mark

On Dec 31, 2011, at 9:00 AM, Mark Brethen <mark.brethen at gmail.com> wrote:

> Is there any documentation on fs-traverse?
> 
> Currently I have in my Portfile:
> 
> eval copy [glob ${worksrcpath}/doc/manual/*.tex] ${docdir}/manual
> xinstall -W ${worksrcpath}/doc/manual \
>           mkhtml.sh \
>           mkpdf.sh \
>           README \
>           reduce.cfg \
>           ${docdir}/manual
> 
> where I only wan't to copy certain files from the directory. I'm guessing there is a more efficient way to do this?
> 
> ###
> 
> -Mark
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-dev/attachments/20111231/26944600/attachment-0001.html>


More information about the macports-dev mailing list