[vlc-devel] commit: Don't generate module parameters twice ( Rémi Denis-Courmont )

git version control git at videolan.org
Thu May 1 19:40:35 CEST 2008


vlc | branch: master | Rémi Denis-Courmont <rem at videolan.org> | Thu May  1 20:27:02 2008 +0300| [c1c5532756b136725832d5d3ba18ef3906374d07]

Don't generate module parameters twice

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=c1c5532756b136725832d5d3ba18ef3906374d07
---

 modules/genmf |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/genmf b/modules/genmf
index ec314a3..be10452 100755
--- a/modules/genmf
+++ b/modules/genmf
@@ -18,8 +18,8 @@ do
   basedir="`echo "${dir}" | cut -f1 -d/`"
   # automake will not recurse for make dist if we don't define SUBDIRS = .
   subdirs="`sed -ne 's,'modules/${dir}'/\([^/]*\)/Makefile,\1,p' configure.ac | xargs`"
-  mods="`sed -n -e 's/^ *SOURCES_\([^ ]*\).*/\1/p' < "${modf}" | xargs`"
-  plugins="`sed -n -e 's/^.*lib\([^ ]*\)_plugin\.la.*/\1/p' < "${modf}" | xargs`"
+  mods="`sed -n -e 's/^ *SOURCES_\([^ ]*\).*/\1/p' < "${modf}" | sort | uniq | xargs`"
+  plugins="`sed -n -e 's/^.*lib\([^ ]*\)_plugin\.la.*/\1/p' < "${modf}" | sort | uniq | xargs`"
   libvlc_ltlibs=""
   extra_ltlibs=""
   for mod in $mods




More information about the vlc-devel mailing list