[neon/backports-resolute/wayland-resolute/Neon/release] debian: don't build docs on cross builds
Carlos De Maine
null at kde.org
Wed Jul 29 16:05:13 BST 2026
Git commit b1ae51d8cef488405588f83cae476b5e65a96116 by Carlos De Maine.
Committed on 29/07/2026 at 15:05.
Pushed by carlosdem into branch 'Neon/release'.
don't build docs on cross builds
M +1 -1 debian/control
M +4 -0 debian/rules
https://invent.kde.org/neon/backports-resolute/wayland-resolute/-/commit/b1ae51d8cef488405588f83cae476b5e65a96116
diff --git a/debian/control b/debian/control
index daaacbc..b522815 100644
--- a/debian/control
+++ b/debian/control
@@ -19,7 +19,7 @@ Build-Depends-Indep:
graphviz,
xmlto,
xsltproc,
- mdbook [amd64],
+ mdbook,
Standards-Version: 4.7.2
Vcs-Git: https://salsa.debian.org/xorg-team/wayland/wayland.git
Vcs-Browser: https://salsa.debian.org/xorg-team/wayland/wayland
diff --git a/debian/rules b/debian/rules
index 862901c..71980ac 100755
--- a/debian/rules
+++ b/debian/rules
@@ -7,6 +7,10 @@ ifeq (,$(filter libwayland-doc,$(shell dh_listpackages)))
configure_flags += -Ddocumentation=false
endif
+ifneq ($(DEB_BUILD_ARCH),$(DEB_HOST_ARCH))
+configure_flags += -Ddocumentation=false
+endif
+
override_dh_auto_configure:
dh_auto_configure -- $(configure_flags)
More information about the Neon-commits
mailing list