2 xdgdatadir=@XDGDATADIR@
3 themedir=$(xdgdatadir)/icons/$(theme)
6 application-x-geda-gsch2pcb-project \
7 application-x-geda-schematic \
8 application-x-geda-symbol
11 $(mime_icons:%=%-16.png) \
12 $(mime_icons:%=%-22.png) \
13 $(mime_icons:%=%-24.png) \
14 $(mime_icons:%=%-32.png) \
15 $(mime_icons:%=%-48.png) \
19 $(mime_icons:%=%-16.svg) \
20 $(mime_icons:%=%-22.svg) \
21 $(mime_icons:%=%-32.svg) \
22 $(mime_icons:%=%-48.svg)
25 $(mime_icon_files:%=mimetypes,%)
27 mimedir = $(xdgdatadir)/mime
28 xmldir = $(mimedir)/packages
30 xml_in_files = libgeda.xml.in
31 xml_DATA = $(xml_in_files:.xml.in=.xml)
33 application_in_files = \
34 x-geda-gsch2pcb-project.desktop.in \
35 x-geda-schematic.desktop.in \
36 x-geda-symbol.desktop.in
38 if ENABLE_KDE_DESKTOP_DATA
39 kdedatadir=@KDEDATADIR@
40 mimelnkdir = $(kdedatadir)/mimelnk
41 applicationdir = $(mimelnkdir)/application
42 application_DATA = $(application_in_files:.desktop.in=.desktop)
43 endif ENABLE_KDE_DESKTOP_DATA
46 $(ICON_THEME_INSTALLER) \
51 -m "$(mkinstalldirs)" \
54 DOMAIN=$(LIBGEDA_GETTEXT_DOMAIN)
56 @DESKTOP_I18N_LANGS_RULE@
57 @DESKTOP_I18N_DESKTOP_RULE@
58 @DESKTOP_I18N_XML_RULE@
61 $(install_icon_exec) -i $(theme_icons)
64 if ENABLE_UPDATE_XDG_DATABASE
65 $(UPDATE_MIME_DATABASE) "$(DESTDIR)$(mimedir)"
69 if ENABLE_UPDATE_XDG_DATABASE
70 $(UPDATE_MIME_DATABASE) "$(DESTDIR)$(mimedir)"
72 $(install_icon_exec) -u $(theme_icons)
74 MAINTAINERCLEANFILES = *.log core FILE *~ Makefile.in
75 DISTCLEANFILES = $(xml_DATA) $(application_DATA)
76 EXTRA_DIST = $(mime_icon_files) $(mime_icon_sources) \
77 $(xml_in_files) $(application_in_files)