mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-12-22 01:14:53 +01:00
build: Fix a plain "make" to automatically run configure.
The recent change to support non-source-directory builds broke this case.
This commit is contained in:
parent
42b0409f8e
commit
c430265612
1 changed files with 7 additions and 2 deletions
9
Makefile
9
Makefile
|
@ -16,8 +16,13 @@ extra_cflags :=
|
|||
extra_cxxflags :=
|
||||
|
||||
# Get settings from the output of configure by running it to generate
|
||||
# Makefile.config if it doesn't exist yet. And add Makefile.config to
|
||||
# our global dependency list.
|
||||
# Makefile.config if it doesn't exist yet.
|
||||
|
||||
# If Makefile.config doesn't exist, then srcdir won't be
|
||||
# set. Conditionally set it (assuming a plain srcdir build) so that
|
||||
# the rule to generate Makefile.config can actually work.
|
||||
srcdir ?= .
|
||||
|
||||
include Makefile.config
|
||||
Makefile.config: $(srcdir)/configure
|
||||
@echo ""
|
||||
|
|
Loading…
Reference in a new issue