Overwrite icon on successive make install

This commit is contained in:
hellekin 2011-12-01 18:51:33 +01:00
parent e482f753da
commit dd3d5e6083

View File

@ -46,13 +46,13 @@ install-data-hook:
$(top_srcdir)/src/monmort.xpm monmort; \
xdg-icon-resource install --size 32 $(top_srcdir)/src/monmort.xpm monmort; fi
@mkdir -p $(DESTDIR)/$(datadir)/icons/hicolor/32x32/mimetypes; \
ln -s $(AppInstIcondir)/monmort.png \
ln -sf $(AppInstIcondir)/monmort.png \
$(DESTDIR)/$(datadir)/icons/hicolor/32x32/mimetypes/application-x-tomb-volume.png
ln -s $(AppInstIcondir)/monmort.png \
ln -sf $(AppInstIcondir)/monmort.png \
$(DESTDIR)/$(datadir)/icons/hicolor/32x32/mimetypes/application-x-tomb-key.png
@if ! [ -n `which update-icon-caches` ]; then \
update-icon-caches $(DESTDIR)/$(datadir)/icons/hicolor; fi
install $(top_builddir)/share/gtkrc $(DESTDIR)/$(GtkRcdir)/
distclean:
unlink gtkrc
unlink Makefile
unlink Makefile