summaryrefslogtreecommitdiff
path: root/icon
diff options
context:
space:
mode:
authorBdale Garbee <bdale@gag.com>2014-09-10 01:33:59 -0600
committerBdale Garbee <bdale@gag.com>2014-09-10 01:33:59 -0600
commit7dccae47537d39a2d56ffd93642bc455d1c5d9a5 (patch)
treebac497ac037a58dbbb9e0235aaaf013ed6f9d83d /icon
parent8ffc76a42ad5e3bdc7ce0529b6143f076de4a3ac (diff)
parent10e31d84ee5cdf10248988079df91354ae6ed612 (diff)
Merge branch 'branch-1.5' into debian
Diffstat (limited to 'icon')
-rw-r--r--icon/Makefile.am4
1 files changed, 4 insertions, 0 deletions
diff --git a/icon/Makefile.am b/icon/Makefile.am
index d0cd9853..c08e9236 100644
--- a/icon/Makefile.am
+++ b/icon/Makefile.am
@@ -85,8 +85,10 @@ MIME_ICONS = $(EEPROM_ICON) $(TELEM_ICON) $(MPD_ICON)
mimeicondir = $(ICON_THEME)/scalable/mimetypes
mimeicon_DATA = $(MIME_ICONS)
+if INSTALL_SHARED_MIME_INFO
mimedir = $(datadir)/mime/packages
mime_DATA = org-altusmetrum-mimetypes.xml
+endif
pixmapdir = $(datadir)/pixmaps
pixmap_DATA = altusmetrum.xpm
@@ -116,9 +118,11 @@ clean-local:
$(RM) *.build *.ico *.rc *.icns *.o *.exe $(MPD_ICON)
$(RM) altusmetrum.xpm
+if INSTALL_SHARED_MIME_INFO
install-data-hook:
update-mime-database $(DESTDIR)$(datadir)/mime
update-icon-caches $(DESTDIR)$(ICON_THEME)
+endif
$(MPD_ICON): $(MP_ICON)
$(LN_S) $(MP_ICON) $@