Commit | Line | Data |
---|---|---|
444e8c28 FT |
1 | appdir=$(datadir)/applications |
2 | iconsdir=$(datadir)/icons/hicolor/48x48/apps | |
3 | ||
4 | icons_DATA= | |
5 | ||
6 | if GUISHELL | |
7 | realdesktop=dolcon-shell.desktop | |
8 | icons_DATA+=dolcon.png | |
9 | else | |
10 | if CLI_GTK2 | |
11 | realdesktop=dolcon-gtk.desktop | |
12 | icons_DATA+=dolcon.png | |
13 | else | |
14 | realdesktop=none | |
15 | endif | |
16 | endif | |
17 | ||
5f187798 | 18 | EXTRA_DIST=hellodolda.png dolcon.png dolcon-gtk.desktop dolcon-shell.desktop |
444e8c28 FT |
19 | |
20 | install-data-local: | |
a742fd84 | 21 | if [ "$(realdesktop)" != none ]; then \ |
444e8c28 FT |
22 | $(mkinstalldirs) $(DESTDIR)$(appdir); \ |
23 | $(INSTALL_DATA) $(srcdir)/$(realdesktop) $(DESTDIR)$(appdir)/dolcon.desktop; \ | |
24 | fi |