On Tue, 2009-12-15 at 09:00 +0000, knipp(a)m-otion.com wrote:
I just want to share my experience of the installation of
SyncEvolution on
RHEL 5.3:
[...]
Thanks, that's useful.
== Preparation of Makefile.am ==
Because of an old version of automake, the docdir has to be set in
Makefile-gen.am and src/Makefile-gen.am
I can't put that into the Makefiles in the upstream source because it
would disable the --docdir option offered by more recent configure.
Here's a different workaround:
diff --git a/configure-post.in b/configure-post.in
index 44e3d76..ab3bb5d 100644
--- a/configure-post.in
+++ b/configure-post.in
@@ -98,6 +98,12 @@ AC_CHECK_HEADERS(stdarg.h valgrind/valgrind.h
execinfo.h)
AC_DEFINE(SYNTHESIS, 1, "using Synthesis engine")
+# fallback for lack of --with-docdir support in older automake
+if test ! "$docdir"; then
+ docdir = ${datadir}/doc/syncevolution
+ AC_SUBST(docdir)
+fi
+
AC_CONFIG_FILES(Makefile src/dbus/interfaces/Makefile src/dbus/Makefile
src/Makefile src/syncevo/Makefile src/syncevo/syncevolution.pc
src/gtk-ui/Makefile po/Makefile.in test/Makefile
src/dbus/syncevo-dbus.pc)
AC_OUTPUT
Does that work for you? In that case I'll push it into
syncevolution-0-9-branch (for 0.9.2) and merge into master.
--
Best Regards, Patrick Ohly
The content of this message is my personal opinion only and although
I am an employee of Intel, the statements I make here in no way
represent Intel's position on the issue, nor am I authorized to speak
on behalf of Intel on this matter.