filetype icon in hicolor

This commit is contained in:
Jaromil 2011-05-26 18:08:25 +02:00
parent 0677d5f770
commit 17df4b6efb

View File

@ -37,18 +37,19 @@ install-data-hook:
@echo "installing mime type" @echo "installing mime type"
@install -D $(top_srcdir)/share/dyne-tomb.xml $(DESTDIR)/$(datadir)/mime/packages @install -D $(top_srcdir)/share/dyne-tomb.xml $(DESTDIR)/$(datadir)/mime/packages
@if ! [ -n `which xdg-mime` ]; then xdg-mime install dyne-tomb.xml; fi @if ! [ -n `which xdg-mime` ]; then xdg-mime install dyne-tomb.xml; fi
@if ! [ -n `which update-desktop-database` ]; then echo update-desktop-database; update-desktop-database; fi
@if ! [ -n `which update-menus` ]; then echo update-menus; update-menus; fi
@if ! [ -n `which update-mime` ]; then echo update-mime; update-mime; fi
@echo "installing icons"; @echo "installing icons";
# @install -D $(top_srcdir)/share/monmort.png $(DESTDIR)/$(datadir)/pixmaps
@if ! [ -n `which xdg-icon-resource` ]; then \ @if ! [ -n `which xdg-icon-resource` ]; then \
xdg-icon-resource install --context mimetypes --size 32 \ xdg-icon-resource install --context mimetypes --size 32 \
$(top_srcdir)/src/monmort.xpm monmort; \ $(top_srcdir)/src/monmort.xpm monmort; \
xdg-icon-resource install --size 32 $(top_srcdir)/src/monmort.xpm monmort; fi xdg-icon-resource install --size 32 $(top_srcdir)/src/monmort.xpm monmort; fi
@if ! [ -n `which update-desktop-database` ]; then echo update-desktop-database; update-desktop-database; fi @mkdir -p $(DESTDIR)/$(datadir)/icons/hicolor/32x32/mimetypes; \
@if ! [ -n `which update-menus` ]; then echo update-menus; update-menus; fi ln -s $(AppInstIcondir)/monmort.png \
@if ! [ -n `which update-mime` ]; then echo update-mime; update-mime; fi $(DESTDIR)/$(datadir)/icons/hicolor/32x32/mimetypes/application-x-tomb-volume.png
@if ! [ -n `which update-icon-caches` ]; then \
uninstall-hook: update-icon-caches $(DESTDIR)/$(datadir)/icons/hicolor; fi
# unlink $(DESTDIR)/$(datadir)/pixmaps/monmort.png
distclean: distclean:
unlink gtkrc unlink gtkrc