[neon/backports-jammy/libsignon-glib/Neon/unstable] debian: make documentation build really optional
Pino Toscano
null at kde.org
Thu Jun 22 01:30:35 BST 2023
Git commit f25f734dc956fa24f7951d773f06310a7e469af5 by Pino Toscano.
Committed on 31/12/2020 at 14:21.
Pushed by carlosdem into branch 'Neon/unstable'.
make documentation build really optional
M +2 -0 debian/changelog
A +18 -0 debian/patches/optional-documentation.diff
M +1 -0 debian/patches/series
https://invent.kde.org/neon/backports-jammy/libsignon-glib/-/commit/f25f734dc956fa24f7951d773f06310a7e469af5
diff --git a/debian/changelog b/debian/changelog
index 1ba8337..ce79ff6 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -21,6 +21,8 @@ libsignon-glib (2.1-0r1) UNRELEASED; urgency=medium
* Update install files.
* Use the in-sources D-Bus interfaces; patch fix-interfaces-path.diff.
* Update symbols file.
+ * Actually respect the 'documentation' option of the buildsystem; patch
+ optional-documentation.diff.
-- Debian/Kubuntu Qt/KDE Maintainers <debian-qt-kde at lists.debian.org> Thu, 31 Dec 2020 14:37:44 +0100
diff --git a/debian/patches/optional-documentation.diff b/debian/patches/optional-documentation.diff
new file mode 100644
index 0000000..8587fe1
--- /dev/null
+++ b/debian/patches/optional-documentation.diff
@@ -0,0 +1,18 @@
+Author: Pino Toscano <pino at debian.org>
+Description: Make the API documentation optional.
+Forwarded: no
+Last-Update: 2020-12-31
+
+--- a/meson.build
++++ b/meson.build
+@@ -23,7 +23,9 @@ endif
+ root_dir = include_directories ('.')
+
+ subdir('libsignon-glib')
+-subdir('docs')
++if get_option('documentation')
++ subdir('docs')
++endif
+
+ if get_option('python')
+ subdir('pygobject')
diff --git a/debian/patches/series b/debian/patches/series
index 53362b8..3171841 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
fix-interfaces-path.diff
+optional-documentation.diff
More information about the Neon-commits
mailing list