Skip to content

Commit

Permalink
don't trigger rebuild on config.h.in
Browse files Browse the repository at this point in the history
Lately I'm seeing unecessary rebuilds because config.h.in is newer than the
./configure file. The rule to trigger on *.in files is intended for "manual"
.in files, not those from autoconf/automake. Exclude config.h.in.
  • Loading branch information
neeels committed Jul 11, 2019
1 parent 7f46be3 commit 0ec4592
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gen_makefile.py
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ def gen_make(proj, deps, configure_opts, jobs, make_dir, src_dir, build_dir, url
return r'''
### {proj} ###
{proj}_configure_files := $(shell find {src_proj} -name "Makefile.am" -or -name "*.in" -and -not -name "Makefile.in" )
{proj}_configure_files := $(shell find {src_proj} -name "Makefile.am" -or -name "*.in" -and -not -name "Makefile.in" -and -not -name "config.h.in" )
{proj}_files := $(shell find {src_proj} -name "*.[hc]" -or -name "*.py" -or -name "*.cpp" -or -name "*.tpl" -or -name "*.map")
.make.{proj}.clone:
Expand Down

0 comments on commit 0ec4592

Please sign in to comment.