Hi Sandro,

On Tue, Jan 10, 2017 at 04:03:33PM +0100, Sandro Knauß wrote:
> Hey,
>
> Your patch should fix this for indep+arch builds.
> But the patch break indep only builds, because we need also for indep build a
> dh_auto_install call. to install the files for examples. Only docs are created
> by dh_auto_build -- INSTALL_ROOT=$(CURDIR)/debian/tmp install_docs
>
> I see two possibilities:
> * moving deletion of the files to override_dh_install-arch
> * copy the part to indep too
>
> Any other solutions?

How about the now attached patch then? (Also not tested.)

Also note that -i flag to dh_auto_install does not make any sense.

--
Dmitry Shachnev
diff --git a/debian/rules b/debian/rules
index 1ca6979..5e8b7db 100755
--- a/debian/rules
+++ b/debian/rules
@@ -159,8 +159,7 @@ override_dh_auto_install-arch:
 	# Remove libtool-like files
 	rm -fv debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/*.la
 
-override_dh_auto_install-indep:
-	dh_auto_install -i
+override_dh_auto_install-indep: override_dh_auto_install-arch
 	dh_auto_build -- INSTALL_ROOT=$(CURDIR)/debian/tmp install_docs
 
 override_dh_install-arch:

Attachment: signature.asc
Description: PGP signature

-- 
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-kde-talk

Reply via email to