+2003-11-06 JP Rosevear <jpr@ximian.com>
+
+ * configure.in (BASE_VERSION): clean up priv* dirs
+
+ * src/Makefile.am: install a version binary to libexecdir
+
+ * src/GNOME_Evolution_DataServerLDAP.server.in.in: reflect new
+ binary location
+
+ * src/GNOME_Evolution_DataServerNOLDAP.server.in.in: ditto
+
2003-11-05 JP Rosevear <jpr@ximian.com>
* src/server.c: following renaming of libedata-book
Evolution-DataServer-Addressbook.h
e-data-book-marshal.c
e-data-book-marshal.h
-libedatabook-1.0.pc
+libedata-book-1.0.pc
Evolution-DataServer-Calendar-skels.c
Evolution-DataServer-Calendar-stubs.c
Evolution-DataServer-Calendar.h
-libedatacal-1.0.pc
\ No newline at end of file
+libedata-cal-1.0.pc
\ No newline at end of file
-# Process this file with autoconf to produce a configure script.
+ Process this file with autoconf to produce a configure script.
AC_PREREQ(2.52)
AC_INIT(evolution-data-server, 0.0.1)
dnl --- need to add it to one or more .pc.in files (for Connector,
dnl --- etc)
-BASE_VERSION=`echo $VERSION | awk -F. '{print $1 "." $2;}'`
+dnl BASE_VERSION=`echo $VERSION | awk -F. '{print $1 "." $2;}'`
+BASE_VERSION=1.0
AC_SUBST(BASE_VERSION)
AC_DEFINE_UNQUOTED(BASE_VERSION, "$BASE_VERSION", [Base version (Major.Minor)])
-privlibexecdir='${libexecdir}'/evolution/$BASE_VERSION
-AC_SUBST(privlibexecdir)
-
-privdatadir='${datadir}'/evolution-data-server-1.0
+privdatadir='${datadir}'/evolution-data-server-$BASE_VERSION
AC_SUBST(privdatadir)
-privincludedir='${includedir}'/evolution-data-server-1.0
+privincludedir='${includedir}'/evolution-data-server-$BASE_VERSION
AC_SUBST(privincludedir)
-idldir="$datadir/idl/evolution-data-server-1.0"
+idldir="$datadir/idl/evolution-data-server-$BASE_VERSION"
AC_SUBST(idldir)
serverdir="$libdir/bonobo/servers"
AC_SUBST(INTERFACE_VERSION)
AC_DEFINE_UNQUOTED(INTERFACE_VERSION, "INTERFACE_VERSION", [IDL interface version (Major.Minor)])
-EVO_SUBST_SERVER_RULE='%.server.in: %.server.in.in ; sed -e "s|\@BINDIR\@|$(bindir)|" -e "s|\@LIBEXECDIR\@|$(privlibexecdir)|" -e "s|\@COMPONENTDIR\@|$(componentdir)|" -e "s|\@IMPORTERSDIR\@|$(importersdir)|" -e "s|\@VERSION\@|$(BASE_VERSION)|" -e "s|\@INTERFACE_VERSION\@|$(INTERFACE_VERSION)|" $< > $@'
+EVO_SUBST_SERVER_RULE='%.server.in: %.server.in.in ; sed -e "s|\@BINDIR\@|$(bindir)|" -e "s|\@LIBEXECDIR\@|$(libexecdir)|" -e "s|\@COMPONENTDIR\@|$(componentdir)|" -e "s|\@IMPORTERSDIR\@|$(importersdir)|" -e "s|\@VERSION\@|$(BASE_VERSION)|" -e "s|\@INTERFACE_VERSION\@|$(INTERFACE_VERSION)|" $< > $@'
EVO_NAME_SERVER_RULE='%_$(BASE_VERSION).server: %.server ; mv $< $@'
AC_SUBST(EVO_SUBST_SERVER_RULE)
AC_SUBST(EVO_NAME_SERVER_RULE)
<oaf_server iid="OAFIID:GNOME_Evolution_DataServer_BookFactory"
type="exe"
- location="@LIBEXECDIR@/evolution-data-server">
+ location="@LIBEXECDIR@/evolution-data-server-@VERSION@">
<oaf_attribute name="repo_ids" type="stringv">
<item value="IDL:GNOME/Evolution/BookFactory:1.0"/>
<oaf_server iid="OAFIID:GNOME_Evolution_DataServer_CalFactory"
type="exe"
- location="@LIBEXECDIR@/evolution-data-server">
+ location="@LIBEXECDIR@/evolution-data-server-@VERSION@">
<oaf_attribute name="repo_ids" type="stringv">
<item value="IDL:GNOME/Evolution/Calendar/CalFactory:1.0"/>
<oaf_server iid="OAFIID:GNOME_Evolution_DataServer_InterfaceCheck"
type="exe"
- location="@LIBEXECDIR@/evolution-data-server">
+ location="@LIBEXECDIR@/evolution-data-server-@VERSION@">
<oaf_attribute name="repo_ids" type="stringv">
<item value="IDL:GNOME/Evolution/ServerInterfaceCheck:1.0"/>
<oaf_server iid="OAFIID:GNOME_Evolution_DataServer_BookFactory"
type="exe"
- location="@LIBEXECDIR@/evolution-data-server">
+ location="@LIBEXECDIR@/evolution-data-server-@VERSION@">
<oaf_attribute name="repo_ids" type="stringv">
<item value="IDL:GNOME/Evolution/BookFactory:1.0"/>
<oaf_server iid="OAFIID:GNOME_Evolution_DataServer_CalFactory"
type="exe"
- location="@LIBEXECDIR@/evolution-data-server">
+ location="@LIBEXECDIR@/evolution-data-server-@VERSION@>"
<oaf_attribute name="repo_ids" type="stringv">
<item value="IDL:GNOME/Evolution/Calendar/CalFactory:1.0"/>
<oaf_server iid="OAFIID:GNOME_Evolution_DataServer_InterfaceCheck"
type="exe"
- location="@LIBEXECDIR@/evolution-data-server">
+ location="@LIBEXECDIR@/evolution-data-server-@VERSION@>"
<oaf_attribute name="repo_ids" type="stringv">
<item value="IDL:GNOME/Evolution/ServerInterfaceCheck:1.0"/>
$(IDL_GENERATED_C): $(IDL_GENERATED_H)
-privlibexec_PROGRAMS = \
+noinst_PROGRAMS = \
evolution-data-server
evolution_data_server_SOURCES = \
$(top_builddir)/calendar/libedata-cal/libedata-cal.la \
$(E_DATA_SERVER_LIBS)
+install-evolution-data-server:
+ $(mkinstalldirs) $(DESTDIR)$(libexecdir)
+ $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) evolution-data-server $(DESTDIR)$(libexecdir)/evolution-data-server-$(BASE_VERSION)
+
+
if ENABLE_LDAP
SERVER_IN_FILE=GNOME_Evolution_DataServerLDAP.server.in.in
else
BUILT_SOURCES = $(IDL_GENERATED) $(server_DATA)
CLEANFILES = $(BUILT_SOURCES)
+install-exec-local: install-evolution-data-server
+
dist-hook:
cd $(distdir); rm -f $(BUILT_SOURCES)