summaryrefslogtreecommitdiff
blob: 65ac29109e8f2ed1aea8a726d2c5189811d93647 (plain)
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
From a62478c8e55bc6b1cd685f0c8c2094e1ed244c69 Mon Sep 17 00:00:00 2001
From: Mart Raudsepp <leio@gentoo.org>
Date: Mon, 11 Mar 2019 20:52:53 +0200
Subject: [PATCH] build: Always install man page

It's already generated and shouldn't be thrown in the same pot as
full gtk-doc generation. It should be either a separate `man` option,
or just always installed.
---
 docs/meson.build | 4 +++-
 meson.build      | 4 +---
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/docs/meson.build b/docs/meson.build
index b039cb631..2b1800be6 100644
--- a/docs/meson.build
+++ b/docs/meson.build
@@ -1,3 +1,5 @@
 install_man('nautilus.1')
 
-subdir('reference')
+if get_option('docs')
+  subdir('reference')
+endif
diff --git a/meson.build b/meson.build
index 996360a62..50479f5f0 100644
--- a/meson.build
+++ b/meson.build
@@ -222,9 +222,7 @@ subdirs = [
 # Conditional building #
 ########################
 
-if get_option('docs')
-  subdirs += 'docs'
-endif
+subdirs += 'docs'
 if get_option('tests') != 'none'
   subdirs += 'test'
 endif
-- 
2.17.0