On Aug  4 07:17, Achim Gratz wrote:
> Corinna Vinschen writes:
> > Assuming the --exclude is not blessed, I think it might be worth the
> > trouble.
> 
> Oh, absolutely - but let's pick Yaakovs mind before diving into this too
> deeply.

Btw., just for the records, I implemented it now like this, for the next
version of pl:

  pl_CONTENTS="usr/bin \
               usr/lib/swipl-${VERSION} \
               usr/share"
  pl_devel_CONTENTS="usr/lib/swipl-${VERSION}/include \
                     usr/lib/swipl-${VERSION}/lib/libswipl.dll.a \
                     usr/lib/pkgconfig"
  pl_doc_CONTENTS="usr/lib/swipl-${VERSION}/doc"
  pl_static_CONTENTS="usr/lib/swipl-${VERSION}/lib/libswipl.a"
  pl_xpce_CONTENTS="usr/bin/xpce* \
                    usr/lib/swipl-${VERSION}/Makefile \
                    usr/lib/swipl-${VERSION}/bin/pl2xpce.dll \
                    usr/lib/swipl-${VERSION}/customize/dotxpcerc \
                    usr/lib/swipl-${VERSION}/library/http/xpce_httpd.pl \
                    usr/lib/swipl-${VERSION}/swipl.rc \
                    usr/lib/swipl-${VERSION}/xpce \
                    usr/share/man/man1/xpce-client.1* \
                    usr/share/doc/pl/xpce"
  for excl in ${pl_devel_CONTENTS} \
              ${pl_doc_CONTENTS} \
              ${pl_static_CONTENTS} \
              ${pl_xpce_CONTENTS} \
              ${PKG_IGNORE}
  do
    pl_CONTENTS="--exclude=${excl} ${pl_CONTENTS}"
  done


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat

Reply via email to