blob: 3f7d6499559b5b8eaae6143d3db4345df7ef23ef [file] [log] [blame]
Brad Bishop220d5532018-08-14 00:59:39 +01001From e1c39b80b01d4d18feeadfdc6e45a3e1dd110634 Mon Sep 17 00:00:00 2001
2From: Andre McCurdy <armccurdy@gmail.com>
3Date: Fri, 27 Jul 2018 21:41:06 +0000
4Subject: [PATCH] allow manpages to be disabled
5
6Define OE_DISABLE_MANPAGES (via environment or the make command line)
7to skip creation and installation of manpages.
8
9Upstream-Status: Inappropriate [configuration]
10
11Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
12---
13 Makefile.org | 2 +-
14 1 file changed, 1 insertion(+), 1 deletion(-)
15
16diff --git a/Makefile.org b/Makefile.org
17index ed98d2a..747d8cb 100644
18--- a/Makefile.org
19+++ b/Makefile.org
20@@ -549,7 +549,7 @@ dist:
21 @$(MAKE) SDIRS='$(SDIRS)' clean
22 @$(MAKE) TAR='$(TAR)' TARFLAGS='$(TARFLAGS)' $(DISTTARVARS) tar
23
24-install: all install_docs install_sw
25+install: all $(if $(OE_DISABLE_MANPAGES),,install_docs) install_sw
26
27 install_sw:
28 @$(PERL) $(TOP)/util/mkdir-p.pl $(INSTALL_PREFIX)$(INSTALLTOP)/bin \
29--
301.9.1
31