From caeddaf28b2be6e81ca870866535d2df08d27cfc Mon Sep 17 00:00:00 2001 From: =?utf8?q?R=C3=A9mi=20Denis-Courmont?= Date: Tue, 28 Feb 2006 15:29:42 +0000 Subject: [PATCH] libtool: fix make distclean --- bootstrap | 15 ++++----------- 1 file changed, 4 insertions(+), 11 deletions(-) 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 -- 2.39.2