[package] libusb: prevent building unused stuff
authorflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Wed, 9 Feb 2011 20:36:29 +0000 (20:36 +0000)
committerflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Wed, 9 Feb 2011 20:36:29 +0000 (20:36 +0000)
This patch prevents the processing of the 'doc' and 'tests'
subdirectories of the libusb package. Since the result of building these
directories is never included in the ipkg package, omitting them saves
compilation time and avoids possible errors if building the docs fails
because of some openjade error (as it happened in my case).

This is my first contribution to the list, so please tell me if
something's wrong or if I could do smth better next time :-)

Signed-off-by: Joachim Schlipper <jschlipper@gmx.de>
git-svn-id: svn://svn.openwrt.org/openwrt/packages@25436 3c298f89-4303-0410-b956-a3cf2f4a3e73

libs/libusb/patches/004-no_unused.patch [new file with mode: 0644]

diff --git a/libs/libusb/patches/004-no_unused.patch b/libs/libusb/patches/004-no_unused.patch
new file mode 100644 (file)
index 0000000..8452d5b
--- /dev/null
@@ -0,0 +1,11 @@
+--- a/Makefile.am      2006-03-04 03:52:46.000000000 +0100
++++ b/Makefile.am      2011-02-03 12:59:22.261341559 +0100
+@@ -4,7 +4,7 @@
+ # gnu strictness chokes on README being autogenerated
+ AUTOMAKE_OPTIONS = 1.4 foreign
+
+-SUBDIRS = . tests doc
++SUBDIRS = .
+
+ AM_CFLAGS = -Werror
+