On Sat, Jul 12, 2008 at 12:00:31PM -0500, James Buren <[EMAIL PROTECTED]> wrote:
> @@ -1549,7 +1549,7 @@
>  msg "Preparing package documentation..."
>  if [ ! "`check_option NODOCS`" -a "$NODOCS" = "0" ]; then
>       mkdir -p pkg/usr/share/doc/$pkgname-$pkgver
> -     find src -maxdepth 2 \( \
> +     find src -maxdepth 2 -size +0b \( \
>                   -name ANNOUNCE \
>               -or -name AUTHORS \
>               -or -name '*BUGS*' \

this hunk looks good.

> @@ -1584,7 +1584,7 @@
>               -or -name VERSION \
>               -or -name 'CONFIGURATION*' \
>               -or -name GPLLicense \
> -             \) -exec cp -a '{}' pkg/usr/share/doc/$pkgname-$pkgver/ \;
> +             \) -exec install -pm 644 '{}' 
> pkg/usr/share/doc/$pkgname-$pkgver/ \;
>  fi
>  for d in $startdir/{pkg,pkg.*}
>  do

hmm, but this one breaks copying directories. actually i don't think
this is a problem, but it would be good to double check. anyone
maintaining a package where we relay on makepkg currently picking up
dirs named README/INSTALL/etc?

Attachment: pgpNqd3v5yhyu.pgp
Description: PGP signature

_______________________________________________
Frugalware-devel mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-devel

Reply via email to