Re: [Tracker] [PATCH] Removing BUILT_SOURCES from DIST_FILES / tracker-indexer Makefile cleanup



On 19/12/08 21:52, Michael Biebl wrote:
Hi folks,

attached is a patch, that cleans up the built system a bit.
1.) It removes BUILT_SOURCES from DIST_FILES
2.) Removes all the symlinking from configure.ac and
src/tracker-indexer/Makefile.am
instead
3.) Add $(top_buildir)/src/tracker-indexer so include path of
tests/tracker-indexer
and include the files via $(top_srcdir)/src/tracker-indexer/foo.c
4.) Add tracker-removable-device.h to tracker_indexer_SOURCES

This simplifies the build system quite a bit and better separates the
tests from the source code.

Hi,

Great patch! I have a few comments:

        -I$(top_srcdir)/src                                     \
        -I$(top_srcdir)/tests/common                            \
+       -I$(top_builddir)/src/tracker-indexer                           

Hmm, I am guessing $(top_builddir) is necessary when doing make distcheck where the build dir is not the same as the original source dir? If so, shouldn't we be using this all over the place and not using $(top_srcdir)? like in the other 2 lines above?

I have committed the patch now, thanks again for this, much appreciated! :)

--
Regards,
Martyn



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