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 --- Makefile.am | 6 +++++- misc/Makefile.common | 8 ++++++-- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/Makefile.am b/Makefile.am index 81bf51c8d..c8c4dc9a6 100644 --- a/Makefile.am +++ b/Makefile.am @@ -70,7 +70,11 @@ slackbuild: install-data-hook: - @if [ -f "$(top_srcdir)/post-install.sh" ]; then $(top_srcdir)/post-install.sh; fi + @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 mostlyclean-generic: 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