xref: /OK3568_Linux_fs/buildroot/package/socat/0001-no-documentation.patch (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1socat: disable documentation build/installation
2
3The documentation generation process requires a special yold2man
4program, for which we don't have a package in Buildroot. Since we
5generally don't care much about documentation of packages, just adjust
6the package Makefile.in to not build/install its documentation.
7
8Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9
10Index: 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
38