aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2003-02-07 00:45:55 +0800
committerDan Winship <danw@src.gnome.org>2003-02-07 00:45:55 +0800
commit8790e14c4b775cd068b0c7da1f9fe9b3bf086378 (patch)
treee993896a6437b9abb3cd95b6888566ee1fd37bf2
parentd5fa188835044ab88895c12e73f3bb31cea8ebd8 (diff)
downloadgsoc2013-evolution-8790e14c4b775cd068b0c7da1f9fe9b3bf086378.tar
gsoc2013-evolution-8790e14c4b775cd068b0c7da1f9fe9b3bf086378.tar.gz
gsoc2013-evolution-8790e14c4b775cd068b0c7da1f9fe9b3bf086378.tar.bz2
gsoc2013-evolution-8790e14c4b775cd068b0c7da1f9fe9b3bf086378.tar.lz
gsoc2013-evolution-8790e14c4b775cd068b0c7da1f9fe9b3bf086378.tar.xz
gsoc2013-evolution-8790e14c4b775cd068b0c7da1f9fe9b3bf086378.tar.zst
gsoc2013-evolution-8790e14c4b775cd068b0c7da1f9fe9b3bf086378.zip
subst in $(toolsdir) instead of $(bindir)
* tools/Makefile.am: subst in $(toolsdir) instead of $(bindir) * tools/evolution-addressbook-clean.in: s/EVOLUTION_BINDIR/EVOLUTION_TOOLSDIR/ svn path=/trunk/; revision=19809
-rw-r--r--ChangeLog7
-rw-r--r--tools/Makefile.am9
-rw-r--r--tools/evolution-addressbook-clean.in6
3 files changed, 14 insertions, 8 deletions
diff --git a/ChangeLog b/ChangeLog
index 47cb85d135..9da6473b00 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2003-02-06 Dan Winship <danw@ximian.com>
+
+ * tools/Makefile.am: subst in $(toolsdir) instead of $(bindir)
+
+ * tools/evolution-addressbook-clean.in:
+ s/EVOLUTION_BINDIR/EVOLUTION_TOOLSDIR/
+
2003-02-05 Dan Winship <danw@ximian.com>
* configure.in: Define and AC_SUBST privlibexecdir, privdatadir,
diff --git a/tools/Makefile.am b/tools/Makefile.am
index e8b5717976..e002d53d5a 100644
--- a/tools/Makefile.am
+++ b/tools/Makefile.am
@@ -1,4 +1,4 @@
-toolsdir = $(datadir)/evolution-$(BASE_VERSION)/tools
+toolsdir = $(privdatadir)/tools
tools_SCRIPTS = \
csv2vcard \
@@ -16,7 +16,6 @@ INCLUDES = \
-DG_LOG_DOMAIN=\"evolution-tools\" \
-I$(top_srcdir) \
-I$(top_builddir) \
- -DEVOLUTION_BINDIR=\""$(bindir)"\" \
-DEVOLUTION_LOCALEDIR=\""$(localedir)"\" \
-DPREFIX=\""$(prefix)"\" \
-DSYSCONFDIR=\""$(sysconfdir)"\" \
@@ -40,10 +39,10 @@ evolution_addressbook_import_LDADD = \
$(top_builddir)/e-util/libeutil.la \
$(top_builddir)/widgets/menus/libmenus.la
-evolution_addressbook_export_LDADD = \
+evolution_addressbook_export_LDADD = \
$(evolution_addressbook_import_LDADD)
-evolution_addressbook_abuse_LDADD = \
+evolution_addressbook_abuse_LDADD = \
$(evolution_addressbook_import_LDADD)
CLEANFILES = evolution-addressbook-clean
@@ -51,6 +50,6 @@ CLEANFILES = evolution-addressbook-clean
evolution-addressbook-clean: evolution-addressbook-clean.in Makefile
## Use sed and then mv to avoid problems if the user interrupts.
- sed -e 's?\@EVOLUTION_BINDIR\@?$(bindir)?g' \
+ sed -e 's?\@EVOLUTION_TOOLSDIR\@?$(toolsdir)?g' \
< $(srcdir)/evolution-addressbook-clean.in > evolution-addressbook-clean.tmp \
&& mv evolution-addressbook-clean.tmp evolution-addressbook-clean
diff --git a/tools/evolution-addressbook-clean.in b/tools/evolution-addressbook-clean.in
index ec407296da..b7ee7ba167 100644
--- a/tools/evolution-addressbook-clean.in
+++ b/tools/evolution-addressbook-clean.in
@@ -9,7 +9,7 @@ sub do_system
}
}
-$filename = `@EVOLUTION_BINDIR@/evolution-addressbook-export`;
+$filename = `@EVOLUTION_TOOLSDIR@/evolution-addressbook-export`;
if ($? != 0) {
$! = $?;
die $!;
@@ -17,8 +17,8 @@ if ($? != 0) {
$HOME = $ENV{"HOME"};
-system ("@EVOLUTION_BINDIR@/killev");
+system ("@EVOLUTION_TOOLSDIR@/killev");
do_system ("/bin/mv ${HOME}/evolution/local/Contacts/addressbook.db ${HOME}/evolution/local/Contacts/addressbook-backup.db");
-do_system ("@EVOLUTION_BINDIR@/evolution-addressbook-import --input-file $filename");
+do_system ("@EVOLUTION_TOOLSDIR@/evolution-addressbook-import --input-file $filename");
do_system ("/bin/rm $filename");