[neon/backports-noble/poppler-noble/Neon/unstable] debian: don't build gtkdoc in cross compile

Carlos De Maine null at kde.org
Fri Jun 12 00:56:46 BST 2026


Git commit 4bd503b77b03cc4559d9c50d1f1d732f69015799 by Carlos De Maine.
Committed on 11/06/2026 at 23:56.
Pushed by carlosdem into branch 'Neon/unstable'.

don't build gtkdoc in cross compile

M  +1    -1    debian/rules

https://invent.kde.org/neon/backports-noble/poppler-noble/-/commit/4bd503b77b03cc4559d9c50d1f1d732f69015799

diff --git a/debian/rules b/debian/rules
index 0ac7311..a9415a1 100755
--- a/debian/rules
+++ b/debian/rules
@@ -22,7 +22,7 @@ CONFIGURE_ARGS :=				\
 	-DENABLE_GLIB=ON			\
 	-DENABLE_QT5=ON				\
 	-DENABLE_CPP=ON				\
-	-DENABLE_GTK_DOC=ON			\
+	-DENABLE_GTK_DOC=$(if $(filter libpoppler-glib-doc,$(shell dh_listpackages)),ON,OFF) \
 	-DENABLE_UNSTABLE_API_ABI_HEADERS=ON	\
 	-DENABLE_CMS=lcms2			\
 	-DENABLE_LIBOPENJPEG=openjpeg2		\


More information about the Neon-commits mailing list