fs-traverse

Joshua Root jmr at macports.org
Sat Dec 31 09:25:02 PST 2011


No, in the same way that cp(1) is not the same as install(1).

- Josh

On 2012-1-1 03:33 , Mark Brethen wrote:
> 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
> <mailto: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



More information about the macports-dev mailing list