aboutsummaryrefslogtreecommitdiffstats
path: root/data
diff options
context:
space:
mode:
authorEttore Perazzoli <ettore@src.gnome.org>2003-01-23 04:34:49 +0800
committerEttore Perazzoli <ettore@src.gnome.org>2003-01-23 04:34:49 +0800
commite0d57775764db366757541ee8b1ccf96c556a019 (patch)
treefed24117d171b384370525aa0698ff5372244b9e /data
parent30a48d26d40baab9c1120e832378edd414e5fa3b (diff)
downloadgsoc2013-evolution-e0d57775764db366757541ee8b1ccf96c556a019.tar
gsoc2013-evolution-e0d57775764db366757541ee8b1ccf96c556a019.tar.gz
gsoc2013-evolution-e0d57775764db366757541ee8b1ccf96c556a019.tar.bz2
gsoc2013-evolution-e0d57775764db366757541ee8b1ccf96c556a019.tar.lz
gsoc2013-evolution-e0d57775764db366757541ee8b1ccf96c556a019.tar.xz
gsoc2013-evolution-e0d57775764db366757541ee8b1ccf96c556a019.tar.zst
gsoc2013-evolution-e0d57775764db366757541ee8b1ccf96c556a019.zip
For now, do not install the evolution.1
manpage. Install all the other files with a -$(BASE_VERSION) suffix. (dtappintegrate): Update for the new location of cde_app_root. (dtappunintegrate): Likewise. svn path=/trunk/; revision=19570
Diffstat (limited to 'data')
-rw-r--r--data/Makefile.am44
1 files changed, 34 insertions, 10 deletions
diff --git a/data/Makefile.am b/data/Makefile.am
index 6ad3676ac1..dc85f6adc1 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -1,37 +1,61 @@
desktopdir = $(datadir)/gnome/apps/Applications
-desktop_in_files = evolution.desktop.in
-desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)
+desktop_in_file = evolution.desktop.in
+desktop_file = $(desktop_in_file:.desktop.in=.desktop)
@INTLTOOL_DESKTOP_RULE@
keysdir = $(datadir)/mime-info
-keys_in_files = evolution.keys.in
-keys_DATA = $(keys_in_files:.keys.in=.keys)
+keys_in_file = evolution.keys.in
+keys_file = $(keys_in_file:.keys.in=.keys)
@INTLTOOL_KEYS_RULE@
mimedir = $(datadir)/mime-info
-mime_DATA = evolution.mime
+mime_file = evolution.mime
if HAVE_KDE_APPLNK
+
kdedesktopdir = $(KDE_APPLNK_DIR)/Applications
-kdedesktop_DATA = $(desktop_in_files:.desktop.in=.desktop)
+kdedesktop_file = $(desktop_in_file:.desktop.in=.desktop)
+
+install-kde-applnk:
+ $(INSTALL_DATA) $(kdedesktop_file) \
+ $(DESTDIR)$(kdedesktopdir)/$(kdedesktop_file:.desktop=-$(BASE_VERSION).desktop)
+else
+
+install-kde-applnk:
+
endif
-man_MANS = evolution.1
+noinst_MANS = evolution.1
-EXTRA_DIST = $(desktop_in_files) $(keys_in_files) $(mime_DATA) $(man_MANS)
+EXTRA_DIST = $(desktop_in_file) $(keys_in_file) $(mime_DATA) $(man_MANS)
SUBDIRS = cde_app_root
+install-data-local: install-kde-applnk
+ $(mkinstalldirs) $(DESTDIR)$(desktopdir); \
+ $(INSTALL_DATA) $(desktop_file) \
+ $(DESTDIR)$(desktopdir)/$(desktop_file:.desktop=-$(BASE_VERSION).desktop) ; \
+ $(mkinstalldirs) $(DESTDIR)$(keysdir); \
+ $(INSTALL_DATA) $(keys_file) $(DESTDIR)$(keysdir)/$(keys_file:.keys=-$(BASE_VERSION).keys) ; \
+ $(mkinstalldirs) $(DESTDIR)$(mimedir); \
+ $(INSTALL_DATA) $(mime_file) $(DESTDIR)$(mimedir)/$(mime_file:.mime=-$(BASE_VERSION).mime) ;
+
# CDE Stuff
if HAVE_DTAPPINTEGRATE
# This installs Evolution into the Application Manager on CDE
dtappintegrate:
- $(DTAPPINTEGRATE) -s $(prefix)/share/evolution/cde_app_root
+ $(DTAPPINTEGRATE) -s $(prefix)/share/evolution-$(BASE_VERSION)/cde_app_root
# ...And this uninstalls it
dtappunintegrate:
- $(DTAPPINTEGRATE) -u -s $(prefix)/share/evolution/cde_app_root
+ $(DTAPPINTEGRATE) -u -s $(prefix)/share/evolution-$(BASE_VERSION)/cde_app_root
endif
+
+EXTRA_DIST = \
+ $(desktop_in_file) \
+ $(mime_file) \
+ $(keys_in_file)
+