From 9213ef1668aaefc9b8f036a9686ab5e4e95b25f2 Mon Sep 17 00:00:00 2001 From: Michael Roitzsch Date: Thu, 29 May 2003 13:09:36 +0000 Subject: remove the .la files from the plugindir after install CVS patchset: 4982 CVS date: 2003/05/29 13:09:36 --- misc/Makefile.common | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'misc') diff --git a/misc/Makefile.common b/misc/Makefile.common index 399aa54fb..12731103f 100644 --- a/misc/Makefile.common +++ b/misc/Makefile.common @@ -5,8 +5,12 @@ $(XINE_LIB): @cd $(top_srcdir)/src/xine-engine && $(MAKE) install-data-hook: - @if [ -x "$(top_srcdir)/post-install.sh" ] && [ "$$MAKELEVEL" -eq 0 ]; then \ - $(top_srcdir)/post-install.sh; \ + @if test $$MAKELEVEL -le 3 ; then \ + rm -f $(XINE_PLUGINDIR)/*.la ; \ + rm -f $(XINE_PLUGINDIR)/*/*.la ; \ + if test -x "$(top_srcdir)/post-install.sh" ; then \ + $(top_srcdir)/post-install.sh ; \ + fi \ fi debug: -- cgit v1.2.3