<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/ocaml.git/Makefile.dev, branch 4.08</title>
<subtitle>github.com: ocaml/ocaml
</subtitle>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/ocaml.git/'/>
<entry>
<title>Move AST testing rules to Makefile.dev (#8743)</title>
<updated>2019-06-18T13:43:51+00:00</updated>
<author>
<name>David Allsopp</name>
<email>david.allsopp@metastack.com</email>
</author>
<published>2019-06-18T13:35:06+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/ocaml.git/commit/?id=5bb4b7b8caba64e34553c3dbb53caf3954d1648c'/>
<id>5bb4b7b8caba64e34553c3dbb53caf3954d1648c</id>
<content type='text'>
Makefile.dev is only included if a Git clone is detected.

make evaluates macros in target specifications when the Makefile is
read, which meant that the build-all-asts target caused `git ls-files`
to be called on every invocation of make. This tweaks it to be a
recursive call to make which puts the $(AST_FILES) macro in the recipe
where it is only evaluated when the target is requested.

(cherry picked from commit 93ee6b43b05783d56e3d8d984fb2503f5870807d)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Makefile.dev is only included if a Git clone is detected.

make evaluates macros in target specifications when the Makefile is
read, which meant that the build-all-asts target caused `git ls-files`
to be called on every invocation of make. This tweaks it to be a
recursive call to make which puts the $(AST_FILES) macro in the recipe
where it is only evaluated when the target is requested.

(cherry picked from commit 93ee6b43b05783d56e3d8d984fb2503f5870807d)
</pre>
</div>
</content>
</entry>
</feed>
