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
|
desktop_in_files = aghermann.desktop.in.in edfhed-gtk.desktop.in.in
desktop_files = $(desktop_in_files:.desktop.in.in=.desktop)
applicationsdir := $(datadir)/applications
applications_DATA = $(desktop_files)
iconthemedir = $(datadir)/icons/hicolor
appiconscalabledir = $(iconthemedir)/scalable/apps
dist_appiconscalable_DATA = \
icons/scalable/aghermann.svg \
icons/scalable/edfhed-gtk.svg
UPDATE_ICON_CACHE = gtk-update-icon-cache --ignore-theme-index --force
install-data-hook: install-update-icon-cache
uninstall-hook: uninstall-update-icon-cache
install-update-icon-cache:
$(AM_V_at)$(POST_INSTALL)
test -n "$(DESTDIR)" || $(UPDATE_ICON_CACHE) "$(iconthemedir)"
uninstall-update-icon-cache:
$(AM_V_at)$(POST_UNINSTALL)
test -n "$(DESTDIR)" || $(UPDATE_ICON_CACHE) "$(iconthemedir)"
EXTRA_DIST := \
aghermann.desktop.in edfhed-gtk.desktop.in \
icons/scalable/aghermann.svg \
icons/scalable/edfhed-gtk.svg
CLEANFILES := \
aghermann.desktop edfhed-gtk.desktop
|