On Nov 15, 2007, at 15:21, source_changes@macosforge.org wrote:
post-destroot { - cd ${worksrcpath} + xinstall -m 0444 ${worksrcpath}/${name}.1 ${destroot}${prefix}/ share/man/man1
- xinstall -m 0444 ${name}.1 ${destroot}${prefix}/share/man/man1 - - set docdir ${prefix}/share/doc/${name}-${version} - xinstall -m 0755 -d ${destroot}${docdir} - xinstall -m 0644 AUTHORS COPYING ChangeLog README TODO $ {destroot}${docdir} + set docdir ${destroot}${prefix}/share/doc/${name}-${version} + xinstall -m 0755 -d ${docdir} + xinstall -m 0644 ${worksrcpath}/AUTHORS ${worksrcpath}/COPYING \ + ${worksrcpath}/ChangeLog ${worksrcpath}/README $ {worksrcpath}/TODO \ + ${docdir} }
Don't forget that the -W option for xinstall exists to make this easier: xinstall -m 0644 -W ${worksrcpath} \ AUTHORS COPYING ChangeLog README TODO \ ${docdir}