Revert "Revert "oran-shell-release: release image for F""
[pti/rtp.git] / meta-starlingx / meta-stx-integ / recipes-support / drbd / drbd-utils / 0011-Disable-documentation.patch
1 From 27ef15d12cc63432332212fbf8c5cc4d77a29de9 Mon Sep 17 00:00:00 2001
2 From: babak sarashki <babak.sarashki@windriver.com>
3 Date: Sat, 26 Oct 2019 14:17:48 +0000
4 Subject: [PATCH] disable documentation
5
6 ---
7  Makefile.in | 3 +--
8  1 file changed, 1 insertion(+), 2 deletions(-)
9
10 diff --git a/Makefile.in b/Makefile.in
11 index fd6a7443..348389e5 100644
12 --- a/Makefile.in
13 +++ b/Makefile.in
14 @@ -56,7 +56,7 @@ KDIR ?= /lib/modules/$(KVER)/build
15  # and not in e.g. dash. I'm too lazy to fix it to be compatible.
16  SHELL=/bin/bash
17  
18 -SUBDIRS     = user scripts documentation drbd
19 +SUBDIRS     = user scripts drbd
20  
21  REL_VERSION := $(shell $(SED) -ne '/^\#define REL_VERSION/{s/^[^"]*"\([^ "]*\).*/\1/;p;q;}' drbd/linux/drbd_config.h)
22  ifdef FORCE
23 @@ -181,7 +181,6 @@ drbd/drbd_buildtag.c:
24  .filelist:
25         @$(GIT) ls-files | sed '$(if $(PRESERVE_DEBIAN),,/^debian/d);s#^#drbd-$(DIST_VERSION)/#' > .filelist
26         @[ -s .filelist ] # assert there is something in .filelist now
27 -       @find documentation -name "[^.]*.[58]" -o -name "*.html" | \
28         sed "s/^/drbd-$(DIST_VERSION)\//"              >> .filelist ; \
29         echo drbd-$(DIST_VERSION)/drbd_config.h        >> .filelist ; \
30         echo drbd-$(DIST_VERSION)/drbd/drbd_buildtag.c >> .filelist ; \
31 -- 
32 2.17.1
33