<feed xmlns='http://www.w3.org/2005/Atom'>
<title>gunmake/tests/scripts/variables, branch 3.81</title>
<subtitle>GNU make with more features of SunOS make</subtitle>
<id>https://git.pashev.ru/gunmake/atom?h=3.81</id>
<link rel='self' href='https://git.pashev.ru/gunmake/atom?h=3.81'/>
<link rel='alternate' type='text/html' href='https://git.pashev.ru/gunmake/'/>
<updated>2006-03-10T02:20:45Z</updated>
<entry>
<title>Numerous updates to tests for issues found on Cygwin and Windows.</title>
<updated>2006-03-10T02:20:45Z</updated>
<author>
<name>Paul Smith</name>
<email>psmith@gnu.org</email>
</author>
<published>2006-03-10T02:20:45Z</published>
<link rel='alternate' type='text/html' href='https://git.pashev.ru/gunmake/commit/?id=6d8d9b74d9c50cb07fe952ac0929f618e4280a55'/>
<id>urn:sha1:6d8d9b74d9c50cb07fe952ac0929f618e4280a55</id>
<content type='text'>
Revert a fix for $? including non-existent files as it shows a bug
in the Linux kernel build.  Give them a release to fix this.
Add some changes from Eli Z. for Windows changes.
</content>
</entry>
<entry>
<title>Fix Savannah bug #106: keep separate track of which variable we are</title>
<updated>2006-02-15T23:54:42Z</updated>
<author>
<name>Paul Smith</name>
<email>psmith@gnu.org</email>
</author>
<published>2006-02-15T23:54:42Z</published>
<link rel='alternate' type='text/html' href='https://git.pashev.ru/gunmake/commit/?id=0806a403d65ef6a7f16e2c17aa8286100ebad5d7'/>
<id>urn:sha1:0806a403d65ef6a7f16e2c17aa8286100ebad5d7</id>
<content type='text'>
expanding, and use that info when generating error messages instead of
the file info, where appropriate.
</content>
</entry>
<entry>
<title>Various changes getting ready for the release of 3.81.</title>
<updated>2006-01-04T14:45:16Z</updated>
<author>
<name>Paul Smith</name>
<email>psmith@gnu.org</email>
</author>
<published>2006-01-04T14:45:16Z</published>
<link rel='alternate' type='text/html' href='https://git.pashev.ru/gunmake/commit/?id=64e16d6c00a59fcff9681e032ac8dbec46d3e960'/>
<id>urn:sha1:64e16d6c00a59fcff9681e032ac8dbec46d3e960</id>
<content type='text'>
- Updates to make.texi and make.1 and other documentation
- Some VMS patches
- Fix minor bugs reported on the mailing list and from Debian.
</content>
</entry>
<entry>
<title>Implemented the .INCLUDE_DIRS special variable. It expands to a list</title>
<updated>2005-11-14T15:31:13Z</updated>
<author>
<name>Boris Kolpackov</name>
<email>boris@kolpackov.net</email>
</author>
<published>2005-11-14T15:31:13Z</published>
<link rel='alternate' type='text/html' href='https://git.pashev.ru/gunmake/commit/?id=3dd1faa5c849dbeb59a88653068c010699ce86f7'/>
<id>urn:sha1:3dd1faa5c849dbeb59a88653068c010699ce86f7</id>
<content type='text'>
of directories that make searches for included makefiles.
</content>
</entry>
<entry>
<title>Make second expansion optional (partial implementation).</title>
<updated>2005-10-24T13:01:39Z</updated>
<author>
<name>Paul Smith</name>
<email>psmith@gnu.org</email>
</author>
<published>2005-10-24T13:01:39Z</published>
<link rel='alternate' type='text/html' href='https://git.pashev.ru/gunmake/commit/?id=11095a90f120545c915c92b8ebf48f04723d1837'/>
<id>urn:sha1:11095a90f120545c915c92b8ebf48f04723d1837</id>
<content type='text'>
I decided this feature was too impacting to make the permanent default
behavior.  This set of changes makes the default behavior of make the
old behavior (no second expansion).  If you want second expansion, you
must define the .SECONDEXPANSION: special target before the first target
that needs it.

This set of changes ONLY fixes explicit and static pattern rules to work
like this.  Implicit rules still have second expansion enabled all the
time: I'll work on that next.

Note that there is still a backward-incompatibility: now to get the old
SysV behavior using $$@ etc. in the prerequisites list you need to set
.SECONDEXPANSION: as well.
</content>
</entry>
<entry>
<title>If we're on a DOS/W32/OS2 system and we're not using a unixy shell, don't</title>
<updated>2005-08-25T04:40:10Z</updated>
<author>
<name>Paul Smith</name>
<email>psmith@gnu.org</email>
</author>
<published>2005-08-25T04:40:10Z</published>
<link rel='alternate' type='text/html' href='https://git.pashev.ru/gunmake/commit/?id=6636dc1d5c41840afd58e402f7b6ea6ef25de943'/>
<id>urn:sha1:6636dc1d5c41840afd58e402f7b6ea6ef25de943</id>
<content type='text'>
follow POSIX backslash/newline conventions.

Use a different method for testing the SHELL variable, which hopefully
will work better on non-UNIX systems.
</content>
</entry>
<entry>
<title>Various minor updates and code cleanups.</title>
<updated>2005-07-12T04:35:13Z</updated>
<author>
<name>Paul Smith</name>
<email>psmith@gnu.org</email>
</author>
<published>2005-07-12T04:35:13Z</published>
<link rel='alternate' type='text/html' href='https://git.pashev.ru/gunmake/commit/?id=1e9dc3ce45ac44ea51292ca964b52ce47fee3ad3'/>
<id>urn:sha1:1e9dc3ce45ac44ea51292ca964b52ce47fee3ad3</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Various fixes and updates from testers of the beta3 release (mostly Windows</title>
<updated>2005-07-04T03:50:59Z</updated>
<author>
<name>Paul Smith</name>
<email>psmith@gnu.org</email>
</author>
<published>2005-07-04T03:50:59Z</published>
<link rel='alternate' type='text/html' href='https://git.pashev.ru/gunmake/commit/?id=0e30f46a624803455dcc74acf9a333666467d253'/>
<id>urn:sha1:0e30f46a624803455dcc74acf9a333666467d253</id>
<content type='text'>
and OS/2 changes).
</content>
</entry>
<entry>
<title>Add a new variable: MAKE_RESTARTS, to count how many times make has re-exec'd.</title>
<updated>2005-06-25T18:57:28Z</updated>
<author>
<name>Paul Smith</name>
<email>psmith@gnu.org</email>
</author>
<published>2005-06-25T18:57:28Z</published>
<link rel='alternate' type='text/html' href='https://git.pashev.ru/gunmake/commit/?id=978819e1d6e9354b5b20d15c875bef98579873ae'/>
<id>urn:sha1:978819e1d6e9354b5b20d15c875bef98579873ae</id>
<content type='text'>
When rebuilding makefiles, unset -B if MAKE_RESTARTS is &gt;0.
</content>
</entry>
<entry>
<title>Fix problems with losing tokens in the jobserver, reported by Grant</title>
<updated>2005-05-03T13:57:20Z</updated>
<author>
<name>Paul Smith</name>
<email>psmith@gnu.org</email>
</author>
<published>2005-05-03T13:57:20Z</published>
<link rel='alternate' type='text/html' href='https://git.pashev.ru/gunmake/commit/?id=9d5b5bd2f57cad88b2ea689bdce4f3d8662e73a4'/>
<id>urn:sha1:9d5b5bd2f57cad88b2ea689bdce4f3d8662e73a4</id>
<content type='text'>
Taylor.  There are two forms of this: first, it was possible to lose
tokens when using -j and -l at the same time, because waiting jobs were
not checked when determining whether any jobs were outstanding.  Second,
if you had an exported recursive variable that contained a $(shell ...)
function there is a possibility to lose tokens, since a token was taken
but the child list was not updated until after the shell function was
complete.

To resolve this I introduced a new variable that counted the number of
tokens we have obtained, rather than checking whether there were any
children on the list.  I also added some sanity checks to make sure we
weren't writing back too many or not enough tokens.  And, the master
make will drain the token pipe before exiting and compare the count of
tokens at the end to what was written there at the beginning.

Also:
  * Ensure a bug in the environment (missing "=") doesn't cause make to core.
  * Rename the .DEFAULT_TARGET variable to .DEFAULT_GOAL, to match the
    terminology in the documentation and other variables like MAKECMDGOALS.
  * Add documentation of the .DEFAULT_GOAL special variable.

Still need to document the secondary expansion stuff...
</content>
</entry>
</feed>
