summaryrefslogtreecommitdiff
path: root/doc
AgeCommit message (Collapse)AuthorFilesLines
2014-09-30Update Copyright statements for 2014.Paul Smith2-3/+3
2014-09-15* main.c, NEWS, doc/make.text: Rename MAKE_TTY* to MAKE_TERM*Paul Smith1-5/+5
2014-09-14* main.c (main): Set MAKE_TTYOUT and MAKE_TTYERR.Paul Smith1-0/+22
* configure.ac: Test for isatty() and ttyname() * makeint.h: provide a substitute for ttyname() if it's not available. * config.ami.template, config.h-vms.template, config.h.W32.template: define/undefine HAVE_ISATTY/HAVE_TTYNAME macros. * NEWS, doc/make.texi: Document these new variables.
2014-09-07* doc/make.texi: Clarify implicit rule lookup of phony targetsPaul Smith1-39/+32
Reported by Frank Heckenbach <f.heckenbach@fh-soft.de>
2014-07-07[SV 41983] Support omitting the text argument to $(file ...)Paul Smith1-5/+6
Reported by Tim Murphy <tnmurphy@gmail.com> * function.c (func_file): Only write TEXT if it is not NULL. * NEWS, doc/make.texi: Document the new feature * tests/scripts/functions/file: Verify that the no-text version of $(file ...) works and doesn't add a newline.
2013-10-13Add support for updating the GNU make web pages.Paul Smith1-0/+2
Add makefile rules for updating the http://www.gnu.org/software/make web pages, including the online GNU make manual.
2013-10-13Convert to auto-generated ChangeLog files.Paul Smith1-11/+0
Rename existing ChangeLog files so they won't be distributed. Add targets to maintMakefile to generate ChangeLog from the Git repository. This will require a version of gnulib be available. Because ChangeLog is auto-generated, we have to switch our automake mode to "foreign" or it will complain and fail.
2013-10-05Sanitize the registered function interface.Paul Smith1-10/+32
Expand the characters which are legal in a function name, and check the name for validity. Create a type for the function pointer. Convert the last argument from a boolean to flags, to allow for expansion.
2013-09-29Reset GNUMAKEFLAGS after parsing.Paul Smith1-4/+11
If we don't do this we'll continually add flags on recursion. This is mainly for users to set in their environment before invoking make.
2013-09-22Allow loaded objects to opt out of the "auto-rebuild" feature.Paul Smith1-2/+5
2013-09-15[SV 31326] Enhance the info on static pattern errors.Paul Smith1-6/+9
2013-09-14[SV 35248] Add --debug "n" flag to turn off current debug options.Paul Smith1-0/+4
2013-09-12Enhance the output sync mode.Paul Smith1-36/+55
Create a new file, output.c, and collect functions that generate output there. We introduce a new global context specifying where output should go (to stdout or to a sync file), and the lowest level output generator chooses where to write output based on that context. This allows us to set the context globally, and all operations that write output (including functions like $(info ...) etc.) will use it. Removed the "--trace=dir" capability. It was too confusing. If you have directory tracking enabled then output sync will print the enter/leave message for each synchronized block. If you don't want that, disable directory tracking.
2013-05-17Update copyright for changes in 2013.Paul Smith1-1/+1
2013-05-14Add requirement for plugin_is_GPL_compatible symbol in loaded objects.Paul Smith1-0/+20
2013-05-13Add a new variable: GNUMAKEFLAGSPaul Smith1-0/+20
This allows you to write portable makefiles that set GNU make-specific command line options in the environment or makefile: add them to GNUMAKEFLAGS instead of MAKEFLAGS and they will be seen by GNU make but ignored by other implementations of make.
2013-05-13Add new --trace[=MODE] flags, with --trace=dirPaul Smith1-7/+12
This mode replaces the previous heuristic setting enabled with -O, where we would log directory enter/leave for each synchronized output. Now we only do that if --trace=dir is given.
2013-05-06doc/make.texi (Loaded Object Example): Add a note about buildingEli Zaretskii1-0/+14
shared objects on MS-Windows.
2013-05-05docs: port manual to Texinfo 5.xStefano Lattarini1-1/+1
* doc/make.texi: Here. It was sufficient to change an '@itemx' into an '@item'. Copyright-paperwork-exempt: yes Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
2013-05-05Rename the -O "job" mode to "line" and "make" to "recurse".Paul Smith1-35/+52
2013-05-04Add memory allocation cleanup to loadable objects.Paul Smith1-7/+114
Add gmk_alloc() and gmk_free() functions so loadable objects can access our memory model. Also provide a more extensive example in the manual.
2013-05-04Fix a typo in the manual.Eli Zaretskii1-1/+1
2013-04-28Add support for per-job output sync.Paul Smith1-51/+126
A new flag to the -O/--output-sync, "job", selects a per-job (that is, per line of a recipe) output synchronization. To support this move the close of the temp file out of the sync_output() function and don't do it until we free the child, since we may call sync_output() multiple times in a given recipe. When we set up for a new temp file, if we're in per-job mode we truncate the file and seek to the beginning to re-use it for every job.
2013-04-15Change the arg option for -O from numeric to string.Paul Smith1-15/+17
2013-04-14Rename the "parallel-sync" option to "output-sync".Paul Smith1-16/+20
2013-04-14Initial patch for output synchronization. See Savannah bug #33138.Frank Heckenbach1-3/+24
Based on work by David Boyce <David.S.Boyce@gmail.com>.
2013-04-06Clarify LDFLAGS vs. LDLIBS. Fixes Savannah bug #37970.Paul Smith1-2/+4
2013-02-25Expand the loadable object support.Paul Smith1-19/+129
Provide a simple API for loaded objects to interact with GNU make. I still won't guarantee that this API won't change but it's much closer to something that's supported and provides easy-to-use interfaces with a public header file.
2013-01-20Allow dynamically loaded objects to be rebuilt by make.Paul Smith1-20/+57
2013-01-12Modify .gitignore for proper formatting.Paul Smith1-6/+18
2013-01-12Rename CVS ignore files to .gitignorePaul Smith1-0/+0
2012-10-29Implement new "load" directive.Paul Smith1-216/+377
Provides support for dynamically loadable objects in GNU make, as a "technology preview".
2012-03-05Simplify copyrights using ranges of years.Paul Smith1-2/+1
The new GNU Maintainer's Manual allows the use of year ranges in certain situations; take advantage of this simplification.
2012-03-03Modify backslash/newline handling for POSIX.Paul Smith1-24/+69
We fixed Savannah 16670 but that broke previously-working makefiles that relied on the GNU make behavior. The POSIX behavior doesn't seem to me to be better, and can be obtained using GNU make as well, so put it back as the default behavior and require .POSIX to get the POSIX behavior. Add a new section to the manual discussing backslash/newline handling. Update the test suite.
2012-01-30Add support for "::=" simple assignment operator.Paul Smith1-31/+46
The next POSIX standard will define "::=" to have the same behavior as GNU make's ":=", so add support for this new operator.
2012-01-29Create a new function $(file ...)Paul Smith1-2/+66
2012-01-16Disallow whitespace in variable names.Paul Smith1-9/+11
2012-01-16Update copyright notices.Paul Smith2-2/+2
2012-01-15Add GNU Guile as an optional embedded scripting language for make.Paul Smith1-117/+339
On configure-enabled systems, configure will detect Guile installed (using pkg-config, which is how GNU Guile is distributed) and enable it if so. On all non-configure-enabled systems, currently, the default is for Guile support to be disabled.
2011-09-12Ensure variables defined in $(call ...) have global scopePaul Smith1-1/+3
Add a note about using #!/usr/bin/make -f to the manual. Clean up the w32 subdirectory in the dist tarball.
2011-05-02Updated documentation to fix Savannah bugs #32058 and #31582Paul Smith1-7/+18
2011-04-18Add new feature: != shell assignment for portability with BSD make.Paul Smith1-3/+47
Feature submitted by David Wheeler.
2011-02-21* Fixups to the make man pagePaul Smith1-11/+13
* Minor syntax cleanups in the manual * In non-maintainer mode set NDEBUG to disable assert() * Performance improvements in strcache: Build Info 1000 2000 4000 3.82 -g 2.61s 8.85s 33.52s 3.82 -O2 1.90s 7.62s 27.82s New -g (with asserts) 1.03s 2.31s 5.79s New -O2 (no asserts) 0.65s 1.50s 3.52s
2010-11-30Check if the target-specific variable is the same as the globalPaul Smith1-5/+5
variable, and if so don't try to update it. Savannah bug #31743.
2010-11-06Improve backslash/newline handling to adhere to POSIX requirements.Paul Smith1-10/+13
2010-08-29Bump the version to 3.82.90.Paul Smith1-14/+33
Fix some doc bugs. Implement the --trace flag. Show filename/linenumber on error.
2010-07-19- Many fixup patches from Savannah.Paul Smith1-45/+158
- Fix the test suite on Solaris (from Boris) - Update the manual for .ONESHELL
2010-07-13Update copyrights for 2010.Paul Smith1-2/+2
2010-07-06- Enhance .POSIX to set -e when invoking shells, as demanded by aPaul Smith1-1/+21
backward-incompatible change in the 2008 POSIX specification. - Add the .SHELLFLAGS variable so people can choose their own shell flags. - Add tests for this. - Add documentation for this.
2009-11-12Implement linker-compatible library search.Boris Kolpackov1-7/+4