[evolution-data-server] Remove version number from ${privdatadir}.



commit 95bc74baded8784fc937a4096c542d49f19d6ce5
Author: Matthew Barnes <mbarnes redhat com>
Date:   Thu Nov 1 07:35:39 2012 -0400

    Remove version number from ${privdatadir}.
    
    In talking to some people at Red Hat about how to deploy pre-configured
    Evolution accounts, one thing I suggested is to provide a package which
    installs .source files to one of the system-wide locations:
    
        /usr/share/evolution-data-server-3.8/ro-sources
        /usr/share/evolution-data-server-3.8/rw-sources
    
    But that's not going to work in general with the version number in the
    path.  Upgrading E-D-S to, say, 3.10 would invalidate such a package.
    
    Remove the version number from our ${privdatadir}.  It's not needed.

 configure.ac |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index a8a8512..87ed00d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1436,7 +1436,7 @@ dnl If you add something here, consider whether or not you also
 dnl need to add it to one or more .pc.in files (for Connector,
 dnl etc)
 
-privdatadir='${datadir}'/evolution-data-server-$BASE_VERSION
+privdatadir='${datadir}'/evolution-data-server
 AC_SUBST(privdatadir)
 
 privincludedir='${includedir}'/evolution-data-server-$BASE_VERSION
@@ -1457,10 +1457,10 @@ AC_SUBST(ebook_backenddir)
 ecal_backenddir='${libdir}'/evolution-data-server/calendar-backends
 AC_SUBST(ecal_backenddir)
 
-ro_sourcesdir='${datadir}'/evolution-data-server-$BASE_VERSION/ro-sources
+ro_sourcesdir='${privdatadir}'/ro-sources
 AC_SUBST(ro_sourcesdir)
 
-rw_sourcesdir='${datadir}'/evolution-data-server-$BASE_VERSION/rw-sources
+rw_sourcesdir='${privdatadir}'/rw-sources
 AC_SUBST(rw_sourcesdir)
 
 if test "x$use_gweather" = "xyes"; then



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]