The pattern for developer files didn't match when using
"make distbin" for simple archives (no D-Bus), because
setting "prefix" avoided the "usr" file pattern.
Empty directories are also removed, using brute force:
start with the longest directory name (find -d | sort -r),
then try removing it.
ACLOCAL_AMFLAGS didn't include the new m4-repo, defeating the
purpose of including the boost macro in there in the git repo.
It worked on systems which had the macro installed, but not
on Fedora 11, as the packager reported.
For "make rpm" to work the current user must have write access
to /usr/src/rpm. With that in place the current command works.
This patch only adds one line to copy the resulting RPM into the
build directory.
.tar.gz and .deb archives should only contain the files required to run
SyncEvolution. .deb already tried to remove some of them via find, for .tar.gz
the removal was limited to include files.
Now we use one consistent file pattern in all cases which matches developer
files and is used for "rm -rf".
All test/README.* files are included in the same directory as the
normal NEWS/COPYING/README files. It's no longer necessary that
users dig out a copy of these files from the source distro.
In Moblin users are not expected to read these files, so the
build via OBS will not be adapted.
The debian/control file isn't needed for anything, but dpkg-shlibdeps
fails without it. Was created manually before, now do it automatically
in the dist directory where it is out of the way (srcdir also contains
such a file, which would be problematic for in-source builds).
The old rules packaged just the command line tool. Now the .tar.gz
includes also the GUI (if enabled) in such a way that the user can
move the files into /usr. This is not recommended, but better than
not having those files at all.
The .deb packaging continues to use checkinstall, based on the theory
that with checkinstall it should be easier to generate both .deb and
.rpm. In practice this is a pretty ugly hack and probably should be
replaced. It also depends on a patched checkinstall (patches sent
upstream) which recognizes several additional options and works
under fakeroot.
It does not work for rpm, at least not without being root:
error: Could not open /usr/src/rpm/RPMS/x86_64/syncevolution-0.8.1+0.9+beta2+20090709-2.x86_64.rpm: Permission denied
syncevo-dbus -> src/dbus
interfaces -> src/dbus/interfaces
Files generated from D-Bus interfaces are only built once, in src/dbus/interfaces.
This is changes makes the code layout a bit nicer and, more importantly,
fixes build dependencies when Synthesis is compiled in src.
Now everything that is needed by a certain directory is in that directory
or a sub directory.
Removed a spurious package check for synthesis which was reintroduced
during the recent code cleanup and merging.
Fixed compilation with --enable-unit-tests and/or --enable-integration-tests.
CPPUnit header files were not included properly.
When at least one of these enable options is used, client-test is built
as part of the normal "make all" and installed in bindir as part of
"make install". The test files go into the docdir.
--prefix must be passed for 'distcheck' to work correctly. Use the 'eval' trick which is used by
AC_CONFIG_SUBDIRS to do proper quotation evaluation. Explicitly pass --srcdir because otherwise
it uses the main configure's --srcdir.