Commit caeddaf2 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

libtool: fix make distclean

parent 262b957b
...@@ -272,20 +272,13 @@ if MAINTAINER_MODE ...@@ -272,20 +272,13 @@ if MAINTAINER_MODE
endif endif
mostlyclean-local: mostlyclean-local:
if USE_LIBTOOL
-rm -f *.la
else
-rm -f *.a *\$(LIBEXT) -rm -f *.a *\$(LIBEXT)
endif
clean-local: \$(clean_modules) clean-local: \$(clean_modules)
if USE_LIBTOOL
@if test -z "\$(libvlc_LTLIBRARIES)\$(noinst_LTLIBRARIES)"; then \
l=\$\$(\$(VLC_CONFIG) --list plugin); \
p=\`for mod in \$(mods); do case "\$\$l " in *\ \$\${mod}\ *) echo -n " lib\$\${mod}_plugin.la" ;; esac; done\` ; \
l=\$\$(\$(VLC_CONFIG) --list builtin); \
s=\`for mod in \$(mods); do case "\$\$l " in *\ \$\${mod}\ *) echo -n " lib\$\${mod}_builtin.la" ;; esac; done\` ; \
test -z "\$\$p\$\$s" || \
\$(MAKE) \$(AM_MAKEFLAGS) \
libvlc_LTLIBRARIES="\$\$p" noinst_LTLIBRARIES="\$\$s" clean ; \
fi
endif
### automake creates libvlcdir after running install-*-local ### automake creates libvlcdir after running install-*-local
### so we have to create it ourselves first ### so we have to create it ourselves first
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment