1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35
|
desktopdir = $(datadir)/applications
desktop_in_files = assogiate.desktop.in
desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)
@INTLTOOL_DESKTOP_RULE@
iconsdir = $(datadir)/icons/hicolor
svgicondir = $(iconsdir)/scalable/apps
dist_svgicon_DATA = scalable/assogiate.svg
icon16dir = $(iconsdir)/16x16/apps
dist_icon16_DATA = 16x16/assogiate.png
icon22dir = $(iconsdir)/22x22/apps
dist_icon22_DATA = 22x22/assogiate.png
icon24dir = $(iconsdir)/24x24/apps
dist_icon24_DATA = 24x24/assogiate.png
icon32dir = $(iconsdir)/32x32/apps
dist_icon32_DATA = 32x32/assogiate.png
icon48dir = $(iconsdir)/48x48/apps
dist_icon48_DATA = 48x48/assogiate.png
gtk_update_icon_cache = gtk-update-icon-cache -f -t $(datadir)/icons/hicolor
install-data-hook: update-icon-cache
uninstall-hook: update-icon-cache
update-icon-cache:
@-if test -z "$(DESTDIR)"; then \
echo "Updating Gtk icon cache."; \
$(gtk_update_icon_cache); \
else \
echo "*** Icon cache not updated. After (un)install, run this:"; \
echo "*** $(gtk_update_icon_cache)"; \
fi
dist_man_MANS = assogiate.1
EXTRA_DIST = $(desktop_in_files)
CLEANFILES = $(desktop_DATA)
|