]> git.notmuchmail.org Git - notmuch/commit
build: Add support for non-source-directory builds.
authorCarl Worth <cworth@cworth.org>
Wed, 9 Mar 2011 23:02:42 +0000 (15:02 -0800)
committerCarl Worth <cworth@cworth.org>
Wed, 9 Mar 2011 23:10:03 +0000 (15:10 -0800)
commit3e4a9d60a9419621b08c647a306843d76c47c2cb
tree4da0a61befaed93e721a44db12a2b1e8b931fce7
parent38f46b6869d3c5f4555e2da3a07700b3c94583a7
build: Add support for non-source-directory builds.

Such as:

     mkdir build
     cd build
     ../configure
     make

This is implemented by having the configure script set a srcdir
variable in Makefile.config, and then sprinkling $(srcdir) into
various make rules. We also use vpath directives to convince GNU make
to find the source files from the original source directory.
Makefile
Makefile.local
TODO
compat/Makefile.local
completion/Makefile.local
configure
emacs/Makefile.local
lib/Makefile.local