File: upstream_build-make-documentation-really-optional.patch

package info (click to toggle)
libsignon-glib 2.1-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 504 kB
  • sloc: ansic: 3,844; xml: 311; python: 33; sh: 26; makefile: 7
file content (28 lines) | stat: -rw-r--r-- 693 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
From fc1098b3a376a04020c9e733eafda9fa0ac51723 Mon Sep 17 00:00:00 2001
From: Pino Toscano <toscano.pino@tiscali.it>
Date: Sat, 2 Jan 2021 14:19:18 +0100
Subject: [PATCH] build: make documentation really optional

Build of the documentation only if the meson option for it is enabled.
---
 meson.build | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/meson.build b/meson.build
index 5d0de55..b10f80d 100644
--- 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')
-- 
2.29.2