Further work on the RPM spec file.
[doldaconnect.git] / share / Makefile.am
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
18 EXTRA_DIST=hellodolda.png dolcon.png dolcon-gtk.desktop dolcon-shell.desktop
19
20 install-data-local:
21         if [ "$(realdesktop)" != none ]; then \
22                 $(mkinstalldirs) $(DESTDIR)$(appdir); \
23                 $(INSTALL_DATA) $(srcdir)/$(realdesktop) $(DESTDIR)$(appdir)/dolcon.desktop; \
24         fi