Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
cleanups.
If we find a make error (invalid makefile syntax or something like that)
write back any tokens we have before we exit.
If we have waiting jobs (using -j + -l) set an alarm before we sleep on
the read() system call, so we can wake up to check the load and start
waiting jobs, if there are long-running jobs we would otherwise be
waiting for. Suggested by Grant Taylor.
|
|
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...
|
|
Updates to docs (still need more work here) and NEWS file.
New language.
|
|
|
|
|
|
reported by Markus Mauhart <qwe123@chello.at>. One was a simple typo; to
fix the other we call patsubst_expand() for all instances of variable
substitution, even when there is no '%'. We used to call subst_expand()
with a special flag set in the latter case, but it didn't work properly
in all situations. Easier to just use patsubst_expand() since that's
what it is.
|
|
- OS/2 Patches
- OpenVMS updates
- Sanitize the handling of -include/sinclude with and without -k
- Fix the setting of $< for order-only rules.
|
|
A number of W32 cleanups from J.Grant.
A number of OS/2 cleanups from Andreas Buening.
Various random bug fixes.
|
|
Small fixes for W32 (from Jonathan Grant <jg-make@jguk.org>)
Maintainer enhancements to clean up the tree.
|
|
|
|
|
|
- Apply a fix for the "thundering herd" problem when using "-j -l".
This also fixes bug #4693.
- Fix bug #7257: allow functions as ifdef arguments
- Fix bug #4518: make sure we print all double-colon rules with -p.
- Upgrade to autconf 2.58/automake 1.8/gettext 0.13.1
- Various doc cleanups, etc.
|
|
Add "!" to the list of shell escape characters: POSIX sh allows it to be
used to negate the return value of the command.
|
|
|
|
- Fix some uncleanliness about the implementation of patterns-specific vars.
- Some enhancements to the OS/2 port.
|
|
More OS/2 updates from Andreas Buening.
Upgrade build system to autoconf 2.57 and automake 1.7.3.
|
|
Also a small patch from Hartmut Becker <Hartmut.Becker@compaq.com> for VMS.
|
|
enable the automake ansi2knr capability.
Right now this doesn't quite build using a K&R compiler because of a
problem with the loadavg test program, but the rest of the code works. I'm
asking the automake list about this problem.
|
|
Invent a new macro HAVE_DOS_PATHS and change various instances of:
#if defined(WINDOWS) || defined(__MSDOS__)
to use the new macro instead. This should help make the OS/2 port
cleaner, as well.
Invent a cvs-clean maintainer target that tries to get the workspace
back to the state it was in after a CVS checkout.
New language.
|
|
|
|
New translation files.
Fix for @+ inside define macros being applied too widely.
Various other bug fixes.
|
|
Fix: make flags on some lines of define/endef don't affect other lines
|
|
|
|
* Don't print "nothing to do" messages for ":" commands
* Update the version to 3.79.1
|
|
|
|
|
|
* Added a new version of the German translation file.
|
|
* Clean up some warnings.
|
|
|
|
* Unify the way arguments are passed to builtin functions in function.c.
|
|
|
|
* New handling of += in target-specific variables.
|
|
* Apply changes from Paul Eggert.
* Many other cleanups (index/rindex --> strchr/strrchr, etc.)
|
|
|
|
|
|
* A couple of nits.
* Fix considered pruning for double-colon rules.
|
|
|
|
|
|
|
|
* Install the $(if ...) function and document it. Still need some examples.
|
|
* Complete implementation of new jobserver algorithm.
* A few minor fixups.
|
|
* Started reworking the jobserver algorithm; not complete yet.
|
|
|
|
|
|
* Rework how the jobserver stuff works.
|
|
* Various code cleanups.
|
|
targets need to have their modtimes rechecked (-n, etc.)
|
|
|
|
* Fixed problem with job pipe and -j>1 when waiting on -l loads.
|