diff options
-rw-r--r-- | Makefile.am | 4 | ||||
-rw-r--r-- | misc/Makefile.common | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/Makefile.am b/Makefile.am index c8c4dc9a6..33ca2b998 100644 --- a/Makefile.am +++ b/Makefile.am @@ -70,8 +70,8 @@ slackbuild: install-data-hook: - @rm -f $(XINE_PLUGINDIR)/*.la - @rm -f $(XINE_PLUGINDIR)/*/*.la + @rm -f $(DESTDIR)$(XINE_PLUGINDIR)/*.la + @rm -f $(DESTDIR)$(XINE_PLUGINDIR)/*/*.la @if test -x "$(top_srcdir)/post-install.sh" ; then \ $(top_srcdir)/post-install.sh ; \ fi diff --git a/misc/Makefile.common b/misc/Makefile.common index 12731103f..747eab438 100644 --- a/misc/Makefile.common +++ b/misc/Makefile.common @@ -6,8 +6,8 @@ $(XINE_LIB): install-data-hook: @if test $$MAKELEVEL -le 3 ; then \ - rm -f $(XINE_PLUGINDIR)/*.la ; \ - rm -f $(XINE_PLUGINDIR)/*/*.la ; \ + rm -f $(DESTDIR)$(XINE_PLUGINDIR)/*.la ; \ + rm -f $(DESTDIR)$(XINE_PLUGINDIR)/*/*.la ; \ if test -x "$(top_srcdir)/post-install.sh" ; then \ $(top_srcdir)/post-install.sh ; \ fi \ |