[packages] flac: Disable building of docs and examples
authorlars <lars@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 12 Jul 2010 19:49:24 +0000 (19:49 +0000)
committerlars <lars@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 12 Jul 2010 19:49:24 +0000 (19:49 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/packages@22155 3c298f89-4303-0410-b956-a3cf2f4a3e73

libs/flac/patches/001-no-docs-and-examples.patch [new file with mode: 0644]

diff --git a/libs/flac/patches/001-no-docs-and-examples.patch b/libs/flac/patches/001-no-docs-and-examples.patch
new file mode 100644 (file)
index 0000000..99c5afe
--- /dev/null
@@ -0,0 +1,81 @@
+diff --git a/Makefile.am b/Makefile.am
+index 5627bb5..16b77ee 100644
+--- a/Makefile.am
++++ b/Makefile.am
+@@ -30,7 +30,7 @@
+ AUTOMAKE_OPTIONS = foreign 1.7
+-SUBDIRS = doc include m4 man src examples test build obj
++SUBDIRS = include m4 src build obj
+ DISTCLEANFILES = libtool-disable-static
+diff --git a/Makefile.in b/Makefile.in
+index 4dafa35..d3b15ed 100644
+--- a/Makefile.in
++++ b/Makefile.in
+@@ -234,7 +234,7 @@ target_alias = @target_alias@
+ AUTOMAKE_OPTIONS = foreign 1.7
+-SUBDIRS = doc include m4 man src examples test build obj
++SUBDIRS = include m4 src build obj
+ DISTCLEANFILES = libtool-disable-static
+diff --git a/src/Makefile.am b/src/Makefile.am
+index 131383e..dce00b6 100644
+--- a/src/Makefile.am
++++ b/src/Makefile.am
+@@ -30,12 +30,6 @@ SUBDIRS = \
+       metaflac \
+       monkeys_audio_utilities \
+       $(XMMS_DIRS) \
+-      plugin_winamp2 \
+-      test_grabbag \
+-      test_libs_common \
+-      test_libFLAC \
+-      test_seeking \
+-      test_streams \
+       $(CPPLIBS_DIRS)
+ EXTRA_DIST = \
+diff --git a/src/Makefile.in b/src/Makefile.in
+index 14ac891..9c9bcd6 100644
+--- a/src/Makefile.in
++++ b/src/Makefile.in
+@@ -221,7 +221,7 @@ target_alias = @target_alias@
+ @FLaC__HAS_XMMS_TRUE@XMMS_DIRS = plugin_common plugin_xmms
+-@FLaC__WITH_CPPLIBS_TRUE@CPPLIBS_DIRS = libFLAC++ test_libFLAC++
++@FLaC__WITH_CPPLIBS_TRUE@CPPLIBS_DIRS = libFLAC++
+ SUBDIRS = \
+       libFLAC \
+@@ -230,12 +230,6 @@ SUBDIRS = \
+       metaflac \
+       monkeys_audio_utilities \
+       $(XMMS_DIRS) \
+-      plugin_winamp2 \
+-      test_grabbag \
+-      test_libs_common \
+-      test_libFLAC \
+-      test_seeking \
+-      test_streams \
+       $(CPPLIBS_DIRS)
+@@ -256,9 +250,8 @@ RECURSIVE_TARGETS = info-recursive dvi-recursive pdf-recursive \
+       check-recursive installcheck-recursive
+ DIST_COMMON = $(srcdir)/Makefile.in Makefile.am
+ DIST_SUBDIRS = libFLAC share flac metaflac monkeys_audio_utilities \
+-      plugin_common plugin_xmms plugin_winamp2 test_grabbag \
+-      test_libs_common test_libFLAC test_seeking test_streams \
+-      libFLAC++ test_libFLAC++
++      plugin_common plugin_xmms plugin_winamp2 \
++      libFLAC++
+ all: all-recursive
+ .SUFFIXES: