From d6f340eb96b0b369985c26cae71a1be13e5ac431 Mon Sep 17 00:00:00 2001 From: Tomas Frydrych Date: Wed, 24 Sep 2008 09:46:52 +0100 Subject: [PATCH] Fixed install-exec-hook for plugins to work correctly when $DESTDIR is set. --- src/compositor/clutter-plugins/Makefile.am | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/compositor/clutter-plugins/Makefile.am b/src/compositor/clutter-plugins/Makefile.am index f064eaca1..00bac8d4f 100644 --- a/src/compositor/clutter-plugins/Makefile.am +++ b/src/compositor/clutter-plugins/Makefile.am @@ -15,7 +15,7 @@ pkglib_LTLIBRARIES = simple.la # (There is no way to stop libtool generating static libs locally, and we # cannot do this globally because of libmetacity-private.so). install-exec-hook: - rm $(pkglibdir)/*.a - rm $(pkglibdir)/*.la + rm $(DESTDIR)$(pkglibdir)/*.a + rm $(DESTDIR)$(pkglibdir)/*.la endif