[vlc-devel] commit: Simplify ( Rémi Denis-Courmont )
git version control
git at videolan.org
Mon Apr 21 21:30:48 CEST 2008
vlc | branch: master | Rémi Denis-Courmont <rem at videolan.org> | Mon Apr 21 22:12:42 2008 +0300| [41ce29d54dd9fc4a3989e03fce0aa9d6c93f42f0]
Simplify
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=41ce29d54dd9fc4a3989e03fce0aa9d6c93f42f0
---
modules/common.am | 2 +-
modules/genmf | 11 -----------
2 files changed, 1 insertions(+), 12 deletions(-)
diff --git a/modules/common.am b/modules/common.am
index 4076374..47aa97c 100644
--- a/modules/common.am
+++ b/modules/common.am
@@ -11,7 +11,7 @@ libvlcdir = $(libdir)/vlc/$(basedir)
libvlc_LTLIBRARIES =
EXTRA_DIST = Modules.am
BUILT_SOURCES =
-CLEANFILES =
+CLEANFILES = $(BUILT_SOURCES)
include $(srcdir)/Modules.am
diff --git a/modules/genmf b/modules/genmf
index 2abb3a2..d05594a 100755
--- a/modules/genmf
+++ b/modules/genmf
@@ -39,24 +39,13 @@ include \$(top_srcdir)/modules/common.am
EOF
for mod in $mods
do
- if grep '^nodist_SOURCES_'${mod}'' < "${modf}" >/dev/null 2>&1; then
- NODIST=''; else
- NODIST='#'; fi
cat >> m4/private.m4 << EOF
${mod}) list="\\\${list} ${dir}/lib${mod}" ;;
EOF
cat >> "${makf}" << EOF
# The ${mod} plugin
-EOF
- cat >> "${makf}" << EOF
lib${mod}_plugin_la_SOURCES = \$(SOURCES_${mod})
-EOF
- if [ "${NODIST}" != "#" ]; then cat >> "${makf}" << EOF
nodist_lib${mod}_plugin_la_SOURCES = \$(nodist_SOURCES_${mod})
-CLEANFILES += \$(nodist_SOURCES_${mod})
-EOF
- fi
- cat >> "${makf}" << EOF
lib${mod}_plugin_la_CFLAGS = \$(AM_CFLAGS)
lib${mod}_plugin_la_CXXFLAGS = \$(AM_CXXFLAGS)
lib${mod}_plugin_la_OBJCFLAGS = \$(AM_OBJCFLAGS)
More information about the vlc-devel
mailing list