[PATCH 1/3] build: compute subdirectories from the presence of Makefile.local

David Bremner david at tethera.net
Mon Mar 24 19:14:17 PDT 2014


David Bremner <david at tethera.net> writes:

> This allows the fragile sed command in configure to be replaced with a somewhat
> less fragile find command.
> -subdirs = compat completion doc emacs lib parse-time-string	\
> -	performance-test util test test/test-databases
> +subdirs = $(dir $(shell find . -mindepth 2 -name Makefile.local))

I discovered a bug with this idea. There is actually an ordering
dependency for the sub Makefiles; in particular the targets of
test/Makefile.local use variables defined in lib/Makefile.local. I'll
have to think if/how this can be salvaged.

d


More information about the notmuch mailing list