tools: gengetopt: Disable doc and tests builds
authorFlorian Fainelli <florian@openwrt.org>
Fri, 22 May 2015 22:33:41 +0000 (22:33 +0000)
committerFlorian Fainelli <florian@openwrt.org>
Fri, 22 May 2015 22:33:41 +0000 (22:33 +0000)
Simply disable the build of the "doc" and "tests" directories to speed up the
build and avoid the potential for errors coming from external tools being used
(e.g: source-highlight installed on a non-standard location).

Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 45713

tools/gengetopt/patches/200-no_docs_tests.patch [new file with mode: 0644]

diff --git a/tools/gengetopt/patches/200-no_docs_tests.patch b/tools/gengetopt/patches/200-no_docs_tests.patch
new file mode 100644 (file)
index 0000000..d393069
--- /dev/null
@@ -0,0 +1,13 @@
+diff -urN gengetopt-2.22.6/Makefile.am gengetopt-2.22.6.new/Makefile.am
+--- gengetopt-2.22.6/Makefile.am       2012-11-02 06:26:54.000000000 -0700
++++ gengetopt-2.22.6.new/Makefile.am   2015-05-21 17:43:15.183083542 -0700
+@@ -18,6 +18,6 @@
+ ACLOCAL_AMFLAGS = -I m4 -I gl/m4
+ EXTRA_DIST = configure TODO LICENSE gl/m4/gnulib-cache.m4
+-SUBDIRS = gl src doc tests
++SUBDIRS = gl src
+-gengetoptdoc_DATA = ChangeLog COPYING NEWS THANKS INSTALL README LICENSE
+\ No newline at end of file
++gengetoptdoc_DATA = ChangeLog COPYING NEWS THANKS INSTALL README LICENSE