themesdir = $(pkgdatadir) pixmapdir = $(datadir)/pixmaps pixmap_DATA = mistelix.png \ mistelix.svg hicolordir = $(datadir)/icons/hicolor images = $(datadir)/mistelix man_MANS = mistelix.1 tango_icons = \ mistelix.png \ mistelix.svg \ button-slideshow.svg \ button-dvd.svg install-data-local: @-$(mkinstalldirs) $(DESTDIR)$(hicolordir)/scalable/apps $(INSTALL_DATA) $(srcdir)/mistelix.svg $(DESTDIR)$(hicolordir)/scalable/apps/mistelix.svg @-$(mkinstalldirs) $(DESTDIR)$(hicolordir)/16x16/apps $(INSTALL_DATA) $(srcdir)/mistelix.png $(DESTDIR)$(hicolordir)/16x16/apps/mistelix.png @-$(mkinstalldirs) $(DESTDIR)$(hicolordir)/32x32/apps $(INSTALL_DATA) $(srcdir)/mistelix.png $(DESTDIR)$(hicolordir)/32x32/apps/mistelix.png @-$(mkinstalldirs) $(DESTDIR)$(hicolordir)/48x48/apps $(INSTALL_DATA) $(srcdir)/mistelix.png $(DESTDIR)$(hicolordir)/48x48/apps/mistelix.png gtk_update_icon_cache = gtk-update-icon-cache -f -t $(datadir)/icons/hicolor install-data-hook: @-if test -z "$(DESTDIR)"; then \ echo "Updating Gtk icon cache."; \ $(gtk_update_icon_cache); \ else \ echo "*** Icon cache not updated. After install, run this:"; \ echo "*** $(gtk_update_icon_cache)"; \ fi uninstall-hook: rm -f $(DESTDIR)$(hicolordir)/48x48/apps/mistelix.png rm -f $(DESTDIR)$(hicolordir)/32x32/apps/mistelix.png rm -f $(DESTDIR)$(hicolordir)/16x16/apps/mistelix.png rm -f $(DESTDIR)$(hicolordir)/scalable/apps/mistelix.svg noinst_DATA = themes_DATA = \ themes/Themes.xml \ themes/beach_mainmenu.jpg \ themes/beach_menu_highlight.svg \ themes/beach_menu_normal.svg \ themes/birthday_mainmenu.jpg \ themes/birthday_menu_highlight.svg \ themes/birthday_menu_normal.svg \ themes/europe_mainmenu.jpg \ themes/winter_mainmenu.jpg \ themes/winter_menu_highlight.svg \ themes/winter_menu_normal.svg \ themes/europe_menu_highlight.svg \ themes/europe_menu_normal.svg EXTRA_DIST = $(pixmap_DATA) $(tango_icons) $(man_MANS) $(themes_DATA)