Fixed install-exec-hook for plugins to work correctly when $DESTDIR is set.

This commit is contained in:
Tomas Frydrych 2008-09-24 09:46:52 +01:00
parent bd3d643f96
commit d6f340eb96

View File

@ -15,7 +15,7 @@ pkglib_LTLIBRARIES = simple.la
# (There is no way to stop libtool generating static libs locally, and we # (There is no way to stop libtool generating static libs locally, and we
# cannot do this globally because of libmetacity-private.so). # cannot do this globally because of libmetacity-private.so).
install-exec-hook: install-exec-hook:
rm $(pkglibdir)/*.a rm $(DESTDIR)$(pkglibdir)/*.a
rm $(pkglibdir)/*.la rm $(DESTDIR)$(pkglibdir)/*.la
endif endif