2 xdgdatadir=$(XDGDATADIR)
3 themedir=$(xdgdatadir)/icons/$(theme)
5 app_icon = geda-gattrib
8 $(app_icon:%=%-48.png) \
10 # $(app_icon:%=%-16.png)
11 # $(app_icon:%=%-22.png)
12 # $(app_icon:%=%-24.png)
13 # $(app_icon:%=%-32.png)
16 $(app_icon_files:%=apps,%)
19 desktopdir=$(xdgdatadir)/applications
20 desktop_in_files = geda-gattrib.desktop.in
21 desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)
25 @DESKTOP_I18N_LANGS_RULE@
26 @DESKTOP_I18N_DESKTOP_RULE@
29 $(ICON_THEME_INSTALLER) \
34 -m "$(mkinstalldirs)" \
38 $(install_icon_exec) -i $(theme_icons)
42 if ENABLE_UPDATE_XDG_DATABASE
43 $(UPDATE_DESKTOP_DATABASE) "$(DESTDIR)$(desktopdir)"
47 if ENABLE_UPDATE_XDG_DATABASE
48 $(UPDATE_DESKTOP_DATABASE) "$(DESTDIR)$(desktopdir)"
50 $(install_icon_exec) -u $(theme_icons)
52 MAINTAINERCLEANFILES = *.log core FILE *~ Makefile.in
53 DISTCLEANFILES = $(desktop_DATA)
54 EXTRA_DIST = $(app_icon_files) \
55 $(desktop_in_files) $(desktop_DATA)