diff options
author | Loïc Hoguin <[email protected]> | 2017-04-10 15:43:32 +0200 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2017-04-10 15:43:32 +0200 |
commit | 7a200f54a9c0a41be4bad93e3ad0b19bbde5267f (patch) | |
tree | d69963d0d2abf03acd5faa576d0030599d201c1d /index/erlgit.mk | |
parent | e0ebd0a1f395dc8b9813b490fc7b0104942f0927 (diff) | |
download | erlang.mk-7a200f54a9c0a41be4bad93e3ad0b19bbde5267f.tar.gz erlang.mk-7a200f54a9c0a41be4bad93e3ad0b19bbde5267f.tar.bz2 erlang.mk-7a200f54a9c0a41be4bad93e3ad0b19bbde5267f.zip |
Only makedep and build asn1/xrl/mib files when necessary
Because we were unconditionally including the makedep file,
it would be built even if the target was unrelated (like
"make help"), and it would also trigger building of xrl
and other files that produce Erlang code.
Instead the makedep file is now included as a wildcard:
if it exists it gets included, if it doesn't it's not,
and if it's created in the middle of execution it gets
included only then.
More details on the technique can be found at
http://make.mad-scientist.net/papers/advanced-auto-dependency-generation/
A test has been added to make sure the behavior does not
come back at a later time.
Diffstat (limited to 'index/erlgit.mk')
0 files changed, 0 insertions, 0 deletions