The cirros image was rebuilt against the 3.13.0-83 kernel, drivers e1000e, igbvf...
[packages/trusty/cirros-testvm.git] / cirros-testvm / src-cirros / buildroot-2015.05 / package / socat / 0001-no-documentation.patch
1 socat: disable documentation build/installation
2
3 The documentation generation process requires a special yold2man
4 program, for which we don't have a package in Buildroot. Since we
5 generally don't care much about documentation of packages, just adjust
6 the package Makefile.in to not build/install its documentation.
7
8 Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9
10 Index: b/Makefile.in
11 ===================================================================
12 --- a/Makefile.in
13 +++ b/Makefile.in
14 @@ -93,7 +93,7 @@
15         Config/Makefile.Cygwin-1-5-25 Config/config.Cygwin-1-5-25.h \
16         Config/Makefile.MacOSX-10-5 Config/config.MacOSX-10-5.h
17  
18 -all: progs doc
19 +all: progs
20  
21  scmclean: gitclean
22  
23 @@ -136,13 +136,11 @@
24  strip: progs
25         strip $(PROGS)
26  
27 -install: progs $(srcdir)/doc/socat.1
28 +install: progs
29         mkdir -p $(DESTDIR)$(BINDEST)
30         $(INSTALL) -m 755 socat $(DESTDIR)$(BINDEST)
31         $(INSTALL) -m 755 procan $(DESTDIR)$(BINDEST)
32         $(INSTALL) -m 755 filan $(DESTDIR)$(BINDEST)
33 -       mkdir -p $(DESTDIR)$(MANDEST)/man1
34 -       $(INSTALL) -m 644 $(srcdir)/doc/socat.1 $(DESTDIR)$(MANDEST)/man1/
35  
36  uninstall:
37         rm -f $(DESTDIR)$(BINDEST)/socat