On Mon, Oct 18, 2010 at 00:09:23 +0100, dioc...@debian.org wrote:

> diff -Nru x11vnc-0.9.10/debian/rules x11vnc-0.9.10/debian/rules
> --- x11vnc-0.9.10/debian/rules        2010-06-14 11:21:04.000000000 +0100
> +++ x11vnc-0.9.10/debian/rules        2010-10-17 23:18:02.000000000 +0100
> @@ -8,11 +8,9 @@
>       autoheader
>       automake --add-missing --copy
>       autoconf
> -ifeq ($(DEB_HOST_ARCH_OS),linux)
> -  ifneq ($(DEB_HOST_ARCH),hppa)
> +ifneq (,$(findstring x11vnc-data, $(shell dh_listpackages)))
>       $(MAKE) -C classes/ssl/src update_jars
>       $(MAKE) -C classes/ssl/src clean
> -  endif
>  endif
>       dh_auto_configure -- --with-system-libvncserver

Was this actually tested?  You don't know at 'debian/rules build' time
whether the -data package is being built or not.

Cheers,
Julien

Attachment: signature.asc
Description: Digital signature

Reply via email to