summaryrefslogtreecommitdiff
path: root/usr.bin/make
AgeCommit message (Collapse)Author
2011-01-23Remove an ugly workaround that was needed to cope with the 9-argument-limitIngo Schwarze
of our former groff-1.15. The workaround relied on undocumented behaviour of stand-alone .Xo inside .Bd -unfilled; in groff-1.20.1, that undocumented behaviour is different and the workaround produces wrong output. Mandoc is happy either way. While here, remove a useless escape sequence from the next line. "i guess that's ok" jmc@
2010-12-26nits with current being NULL or not.Marc Espie
okay miod@
2010-11-02exit 1 (not -1) for -q; PR 6494Theo de Raadt
2010-10-18remove references to now removed usd/psd/smm docs;Jason McIntyre
2010-10-17Stop installing me(1) and ms(1) source code.Ingo Schwarze
We will soon get rid of groff in base, so there is no longer any way to use these files with base. No opposition on tech@.
2010-09-29various EXIT STATUS fixes; from Daniel DickmanJason McIntyre
2010-07-19document new. hints from jmc@Marc Espie
2010-07-19Correct $OpenBSD$ stuffMarc Espie
2010-07-19two small changes:Marc Espie
- allow variables in SysV modifiers, as requested by matthieu@ (since recursive variables are an extension, this just extends the extension) - variation on :Q called :QL (quote list), which does quote every character EXCEPT for whitespace. e.g., toto: @for i in ${VAR:QL} ...
2010-07-15whitespaceMarc Espie
2010-07-15whitespaceMarc Espie
2010-04-25pure whitespace cleanupMarc Espie
2010-02-04MACHINE_CPU here too;Jason McIntyre
2010-02-03Add a new default variable in Makefile context, MACHINE_CPU. Its value isMiod Vallat
decided at compile-time and is either MACHINE_CPU from <machine/param.h> if it is defined, or the same value as MACHINE_ARCH otherwise. This will be used to allow ports with suffixes to their canonical MACHINE_ARCH to provide this canonical name as MACHINE_CPU, and in turn to let Makefiles do TRT. ok kettenis@
2009-11-11If this is an else-type conditional and previous corresponding oneFederico G. Schwindt
evaluated to true, skip. tested by simon@ and myself. espie@ ok.
2009-08-16modify timestamp handling to grab current time instead of relying on aMarc Espie
stale timestamp. all those diffs sent to people ages ago, who didn't answer, except for Theo, who said he ran it with no issues, so let's get this in...
2009-08-16use unsigned values where applicableMarc Espie
2009-08-16remove useless commentsMarc Espie
2009-08-16write sensible error messageMarc Espie
2009-08-16avoid touching .PHONY targets, they don't exist.Marc Espie
2009-05-13fix loopvar debug prints. Issue reported by naddy@Marc Espie
2009-05-12zap double prototypeMarc Espie
2009-05-12fix obvious bug: .PHONY targets don't match files, so they're precious (weMarc Espie
don't even want to check for a matching file on the file system)
2009-05-10simple check for cvs conflicts, avoids some "duh" moments (some people likeMarc Espie
it, other don't care, it's cheap enough). Slightly tweaked patch that also guards against empty arrays (though it's unlikely to happen, I don't feel like proving the array is not empty).
2009-05-10simplify job handling a great deal: we don't care when jobs getMarc Espie
stopped/continued, as we won't try to start new jobs when other stuff is stopped. Redo signal handling so that most stuff can be done directly in the handler. This requires blocking/unblocking signals while creating new jobs, and creating a small list that only contains job's pids. Switch to pgrps for jobs, since that works. Add a clamping heuristic that avoids starting new jobs while an expensive job is running (expensive meaning "very likely to be a recursive make run"). This idea is mostly from Theo, through the implementation is mine.
2009-04-26move code around a bit, extract code from run_prepared_gnodeMarc Espie
into a run_gnode_parallel. That simplifies the control flow of that routine a bit, to allow for more tweaks in the parallel case. okay kettenis@, otto@
2009-02-10STANDARDS:Jason McIntyre
mark these utilities as being either optional (SD/FR/UP); or as being compliant only with XPG4 (XSI); strip.1 and talk.1 are tweaked purely for consistency; thanks otto for feedback
2009-02-08bump the posix reference in STANDARDS to IEEE Std 1003.1-2008, with a fewJason McIntyre
updates to follow;
2008-11-24fix a very old bug. Fix discovered in NetBSD by miod@Marc Espie
2008-11-11allocate job only when it's needed.Marc Espie
okay otto@
2008-11-10missing staticMarc Espie
2008-11-10adjust comment to reflect reality (CompatRunCommand is gone)Marc Espie
2008-11-09typo fixed (overriden -> overridden)Tobias Stoeckmann
ok espie, jmc
2008-11-04changes to get target equivalence to work better.Marc Espie
- add new file to create lists of equivalent targets (siblings) - use that for sequential mode to have much better VPATH support - separate checking commands from reporting error, for later. - zap DieHorribly accordingly - renumber existing flags - signal_running_jobs() is simpler than pass_signal_to_jobs() - new debug option -dn for name matching. Similar code to handle parallel make is still missing. thanks to Mark, Miod, Theo, Otto, Todd for tests and/or comments.
2008-09-01section headings do not need to be quoted; from Alan R. S. BuenoJason McIntyre
2008-08-01Document the MAKEFILE variable as unreliable.Alexander Bluhm
ok jmc espie
2008-03-24bye, bye recalloc. Bad interface for various reasons.Marc Espie
discussed with deraadt@ and otto@ and millert@
2008-03-03tweak previous;Jason McIntyre
2008-03-02document the two big bugs left that somewhat hinder parallel mode.Marc Espie
2008-01-29A few changes:Marc Espie
- expand commands earlier, so that we can eventually scan them to take smarter decisions. - clean up the select() mask code and rename variables to sensible things. - quite a few minor renames for readability - erecalloc - clean up wait status handling, do not try to rebuild wait status, but instead parse it early and deal with the parsed code. tested by lots of people, thanks guys!
2008-01-12better error reporting/job handling error:Marc Espie
- systematically reorder jobs based on who did output last, so that the last job to output is *first* to output again. - better reaction to errors: any job that outputs is checked for termination directly, and the Error message is printed right afterwards. - better error messages, giving more useful information in -j mode.
2008-01-12new function: lstRequeue, to be used by the job handlerMarc Espie
2008-01-10fix stupid typo in grouping, make PWD work correctly again.Marc Espie
Found out by Christian Ehrhardt.
2008-01-02fix obvious bug in .NODEFAULT handlingMarc Espie
2007-12-31if our node doesn't have a lineno/fname, inherit from `used' node.Marc Espie
This lets suffix rules finally print out where they come from...
2007-12-10zap field nothing uses.Marc Espie
2007-12-01zap trailing whitespace;Jason McIntyre
2007-12-01I was sure I had committed this already, grrrr.Marc Espie
Anyways, switch to a growable array for job to do. Allows us to randomize it. fix manpage. do not add delay if just one job to run.
2007-11-28grrrMarc Espie
2007-11-28debug scaffolding: allows the insertion of a random delay before firing upMarc Espie
jobs in parallel mode.