summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support/lvm2/files/0005-do-not-build-manual.patch
blob: e7aaad4d0ec86c3c3b58253182690558e0442a3c (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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
From e0e06b77e067da6a01dd9b0d5582a0a1709c655d Mon Sep 17 00:00:00 2001
From: Hongxu Jia <hongxu.jia@windriver.com>
Date: Mon, 26 Nov 2018 14:59:55 +0800
Subject: [PATCH] do not build manual

On some host (ubuntu 1404), build manual failed.
...
./tools/man-generator --primary lvscan lvscan.8_des
Failed to stat description file lvscan.8_des.
...

Do not build man to workaround the issue.

Upstream-Status: Pending

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>

Update context for lvm2 2.03.02.
Signed-off-by: Kai Kang <kai.kang@windriver.com>

Update context for lvm2 2.03.16.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
---
 Makefile.in  | 6 +++---
 configure.ac | 1 -
 2 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/Makefile.in b/Makefile.in
index 06c4b1823..90df7b09c 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -18,7 +18,7 @@ top_builddir = @top_builddir@
 abs_top_builddir = @abs_top_builddir@
 abs_top_srcdir = @abs_top_srcdir@
 
-SUBDIRS = libdm conf daemons include lib libdaemon man scripts tools
+SUBDIRS = libdm conf daemons include lib libdaemon scripts tools
 
 ifeq ("@UDEV_RULES@", "yes")
   SUBDIRS += udev
@@ -33,7 +33,7 @@ ifeq ($(MAKECMDGOALS),clean)
 endif
 # FIXME Should use intermediate Makefiles here!
 ifeq ($(MAKECMDGOALS),distclean)
-  SUBDIRS = conf include man test scripts \
+  SUBDIRS = conf include test scripts \
     libdaemon lib tools daemons libdm \
     udev po
 tools.distclean: test.distclean
@@ -59,7 +59,7 @@ unit-test  run-unit-test: test libdm
 
 daemons.device-mapper: libdm.device-mapper
 tools.device-mapper: libdm.device-mapper
-device-mapper: tools.device-mapper daemons.device-mapper man.device-mapper
+device-mapper: tools.device-mapper daemons.device-mapper
 device_mapper: device-mapper
 
 ifeq ("@INTL@", "yes")
diff --git a/configure.ac b/configure.ac
index 7c1c04627..5364dd68e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2022,7 +2022,6 @@ libdaemon/server/Makefile
 libdm/Makefile
 libdm/dm-tools/Makefile
 libdm/libdevmapper.pc
-man/Makefile
 po/Makefile
 scripts/lvm2-pvscan.service
 scripts/blkdeactivate.sh