From: RĂ©mi Denis-Courmont Date: Tue, 28 Feb 2006 15:29:42 +0000 (+0000) Subject: libtool: fix make distclean X-Git-Tag: 0.9.0-test0~12126 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=caeddaf28b2be6e81ca870866535d2df08d27cfc;p=vlc libtool: fix make distclean --- diff --git a/bootstrap b/bootstrap index f7a8b1df22..e518371be0 100755 --- a/bootstrap +++ b/bootstrap @@ -272,20 +272,13 @@ if MAINTAINER_MODE endif mostlyclean-local: +if USE_LIBTOOL + -rm -f *.la +else -rm -f *.a *\$(LIBEXT) +endif 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 ### so we have to create it ourselves first