| 1 |
desktop_in_files = aghermann.desktop.in.in edfhed-gtk.desktop.in.in |
| 2 |
desktop_files = $(desktop_in_files:.desktop.in.in=.desktop) |
| 3 |
|
| 4 |
applicationsdir := $(datadir)/applications |
| 5 |
applications_DATA = $(desktop_files) |
| 6 |
|
| 7 |
iconthemedir = $(datadir)/icons/hicolor |
| 8 |
appiconscalabledir = $(iconthemedir)/scalable/apps |
| 9 |
dist_appiconscalable_DATA = \ |
| 10 |
icons/scalable/aghermann.svg \ |
| 11 |
icons/scalable/edfhed-gtk.svg |
| 12 |
|
| 13 |
UPDATE_ICON_CACHE = gtk-update-icon-cache --ignore-theme-index --force |
| 14 |
install-data-hook: install-update-icon-cache |
| 15 |
uninstall-hook: uninstall-update-icon-cache |
| 16 |
|
| 17 |
install-update-icon-cache: |
| 18 |
$(AM_V_at)$(POST_INSTALL) |
| 19 |
test -n "$(DESTDIR)" || $(UPDATE_ICON_CACHE) "$(iconthemedir)" |
| 20 |
|
| 21 |
uninstall-update-icon-cache: |
| 22 |
$(AM_V_at)$(POST_UNINSTALL) |
| 23 |
test -n "$(DESTDIR)" || $(UPDATE_ICON_CACHE) "$(iconthemedir)" |
| 24 |
|
| 25 |
EXTRA_DIST := \ |
| 26 |
aghermann.desktop.in edfhed-gtk.desktop.in \ |
| 27 |
icons/scalable/aghermann.svg \ |
| 28 |
icons/scalable/edfhed-gtk.svg |
| 29 |
|
| 30 |
CLEANFILES := \ |
| 31 |
aghermann.desktop edfhed-gtk.desktop |