diff options
author | Michael Roitzsch <mroi@users.sourceforge.net> | 2003-05-29 13:09:36 +0000 |
---|---|---|
committer | Michael Roitzsch <mroi@users.sourceforge.net> | 2003-05-29 13:09:36 +0000 |
commit | 9213ef1668aaefc9b8f036a9686ab5e4e95b25f2 (patch) | |
tree | 6c766e0934d08a638fce045e32bc484780212c3c | |
parent | c6b78d5e4d5ec29f1a67941b7fbbe326e49eb0ca (diff) | |
download | xine-lib-9213ef1668aaefc9b8f036a9686ab5e4e95b25f2.tar.gz xine-lib-9213ef1668aaefc9b8f036a9686ab5e4e95b25f2.tar.bz2 |
remove the .la files from the plugindir after install
CVS patchset: 4982
CVS date: 2003/05/29 13:09:36
-rw-r--r-- | Makefile.am | 6 | ||||
-rw-r--r-- | 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: |