aboutsummaryrefslogtreecommitdiffstats
path: root/shell
diff options
context:
space:
mode:
authorRodney Dawes <dobey@ximian.com>2003-04-29 05:21:00 +0800
committerRodney Dawes <dobey@src.gnome.org>2003-04-29 05:21:00 +0800
commitabb5fe7759fd95ca721177973bd2542d472d55f1 (patch)
tree485755b0cacd5bb3adfddc6167997534d46327fb /shell
parent5283d07d8138094f6bbb25099e58000dbf9b49a2 (diff)
downloadgsoc2013-evolution-abb5fe7759fd95ca721177973bd2542d472d55f1.tar.gz
gsoc2013-evolution-abb5fe7759fd95ca721177973bd2542d472d55f1.tar.zst
gsoc2013-evolution-abb5fe7759fd95ca721177973bd2542d472d55f1.zip
Fix up some stuff for the nognome script Fix up nognome script for Sun
2003-04-28 Rodney Dawes <dobey@ximian.com> * Makefile.am: Fix up some stuff for the nognome script * evolution-nognome.in: Fix up nognome script for Sun GNOME2 svn path=/trunk/; revision=20996
Diffstat (limited to 'shell')
-rw-r--r--shell/ChangeLog5
-rw-r--r--shell/Makefile.am20
-rw-r--r--shell/evolution-nognome.in14
3 files changed, 28 insertions, 11 deletions
diff --git a/shell/ChangeLog b/shell/ChangeLog
index dc87f1ae0e..dd517ec0a9 100644
--- a/shell/ChangeLog
+++ b/shell/ChangeLog
@@ -1,3 +1,8 @@
+2003-04-28 Rodney Dawes <dobey@ximian.com>
+
+ * Makefile.am: Fix up some stuff for the nognome script
+ * evolution-nognome.in: Fix up nognome script for Sun GNOME2
+
2003-04-28 Rodrigo Moya <rodrigo@ximian.com>
Fixes #41916
diff --git a/shell/Makefile.am b/shell/Makefile.am
index 5fc76a57f5..d9b4a669ba 100644
--- a/shell/Makefile.am
+++ b/shell/Makefile.am
@@ -315,9 +315,21 @@ install-data-local:
done \
fi
-install-exec-local:
+install-evolution:
$(LIBTOOL) --mode=install $(INSTALL_PROGRAM) evolution $(DESTDIR)$(bindir)/evolution-$(BASE_VERSION)
+if HAVE_DTAPPINTEGRATE
+
+install-exec-local: install-evolution
+ mkdir -p $(DESTDIR)$(libexecdir)
+ mv $(DESTDIR)$(bindir)/evolution-$(BASE_VERSION) $(DESTDIR)$(libexecdir)/evolution-$(BASE_VERSION)
+ $(INSTALL_PROGRAM) evolution-nognome $(DESTDIR)$(bindir)/evolution-$(BASE_VERSION)
+
+else
+
+install-exec-local: install-evolution
+
+endif
# GLib marshalling cruft
@@ -366,9 +378,5 @@ CLEANFILES = $(BUILT_SOURCES)
dist-hook:
cd $(distdir); rm -f $(BUILT_SOURCES)
+noinst_SCRIPTS = evolution-nognome
-if HAVE_DTAPPINTEGRATE
-
-bin_SCRIPTS = evolution-nognome
-
-endif
diff --git a/shell/evolution-nognome.in b/shell/evolution-nognome.in
index 039eeb4b8c..bd6f15789b 100644
--- a/shell/evolution-nognome.in
+++ b/shell/evolution-nognome.in
@@ -1,9 +1,13 @@
#!/bin/sh
-PATH=@prefix@/bin:@GNOME_PREFIX@/bin:${PATH}
-GNOME_PATH=@prefix@:@GNOME_PREFIX@
-LD_LIBRARY_PATH=@prefix@/lib:@GNOME_PREFIX@/lib:${LD_LIBRARY_PATH}
+prefix=@prefix@
+exec_prefix=@exec_prefix@
-export LD_LIBRARY_PATH GNOME_PATH PATH
+PATH=@prefix@/bin:/usr/gnome/bin:${PATH}
+GNOME2_PATH=@prefix@:/usr/gnome
+LD_LIBRARY_PATH=@prefix@/lib:/usr/gnome/lib:${LD_LIBRARY_PATH}
+
+export LD_LIBRARY_PATH GNOME2_PATH PATH
+
+exec @libexecdir@/evolution-1.3 "$@"
-exec evolution