plugins/Makefile.am: Don't fail when trying to remove nonexisting file

https://bugzilla.gnome.org/show_bug.cgi?id=743189
This commit is contained in:
Jonas Ådahl 2015-01-20 00:32:27 +08:00 committed by Jasper St. Pierre
parent 0bfebc3cae
commit 22c13b3144

View File

@ -24,8 +24,8 @@ pkglib_LTLIBRARIES = default.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 libmutter-private.so). # cannot do this globally because of libmutter-private.so).
install-exec-hook: install-exec-hook:
-rm $(DESTDIR)$(pkglibdir)/*.a -rm -f $(DESTDIR)$(pkglibdir)/*.a
-rm $(DESTDIR)$(pkglibdir)/*.la -rm -f $(DESTDIR)$(pkglibdir)/*.la
# Since we removed the .la file, 'make uninstall' doesn't work properly, # Since we removed the .la file, 'make uninstall' doesn't work properly,
# since it counts on libtool to remove the .la files, so just kill the # since it counts on libtool to remove the .la files, so just kill the