summaryrefslogtreecommitdiff
path: root/tests/scripts/functions
Commit message (Collapse)AuthorAgeFilesLines
* [SV 41983] Support omitting the text argument to $(file ...)Paul Smith2014-07-071-0/+17
| | | | | | | | 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.
* Expand the loadable object support.Paul Smith2013-02-251-2/+6
| | | | | | | 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.
* Implement new "load" directive.Paul Smith2012-10-291-0/+14
| | | | | Provides support for dynamically loadable objects in GNU make, as a "technology preview".
* Get error messages in the C locale for comparision with make output.Paul Smith2012-09-091-0/+7
| | | | Fixes Savannah bug #35764.
* Convert all "`'" quotes to "''" per new GNU Coding Standard guidelines.Paul Smith2012-03-043-16/+16
| | | | Fixes Savannah bug #34530.
* Fix Savannah bug #35410: handle escape chars in filter/filter-outPaul Smith2012-03-031-9/+23
| | | | Also add a valgrind suppression file for Guile-enabled make.
* Create a new function $(file ...)Paul Smith2012-01-291-0/+94
|
* Add GNU Guile as an optional embedded scripting language for make.Paul Smith2012-01-151-0/+81
| | | | | | | | | 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.
* Ensure variables defined in $(call ...) have global scopePaul Smith2011-09-121-0/+11
| | | | | Add a note about using #!/usr/bin/make -f to the manual. Clean up the w32 subdirectory in the dist tarball.
* Inverted the boolean test from what I wanted it to be. Added aPaul Smith2011-05-071-0/+12
| | | | regression test to make sure this continues to work.
* Use the same algorithm for counting the number of words to sort as wePaul Smith2011-05-021-53/+45
| | | | | use to break up the list of words, so we're sure to get the same number. Fixes Savannah bug #33125
* Improve backslash/newline handling to adhere to POSIX requirements.Paul Smith2010-11-061-1/+1
|
* - Update manual description for pattern rule search algorithmPaul Smith2009-09-281-0/+9
| | | | | | - Add new "-all" flag to the test suite to run tests that don't pass yet - Add some non-passing tests - Fix from Andreas Buening for OS/2.
* - Fix Savannah bug 17825Paul Smith2009-06-131-9/+6
| | | | - Fix Savannah bug 21231
* New special variable: .RECIPEPREFIXPaul Smith2007-11-041-1/+1
| | | | | | | | | Allows the user to reset the prefix character for introducing recipe lines from the default (tab) to any other single character, and back again. Also, reworked the manual to consistently use the word "recipe" to describe the set of commands we use to update a target, instead of the various phrases used in the past: "commands", "command lines", "command scripts", etc.
* Release GNU make 3.81.Paul Smith2006-04-011-14/+25
| | | | | | | | | Update NEWS docs. Enhance the manual to use automake version.texi, and use the canonical FSF copyright features and statement. Some $(realpath ...) tests won't work on Windows; leave them out The jobserver filedescriptor test might fail if some FDs are reserved, so for now comment out that check.
* Numerous updates to tests for issues found on Cygwin and Windows.Paul Smith2006-03-102-38/+24
| | | | | | 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.
* Fix Savannah bug #106: keep separate track of which variable we arePaul Smith2006-02-154-40/+112
| | | | | expanding, and use that info when generating error messages instead of the file info, where appropriate.
* - New code capability: a read-only string cache. Start of solution forPaul Smith2006-02-101-0/+50
| | | | | Savannah bug #15182, but not much uses it yet. Coming shortly. - Added short-circuiting $(and ..) and $(or ...) functions.
* Update the make.1 man page.Paul Smith2005-12-131-10/+0
| | | | Use rm -f instead of rm in the test scripts. Fixes bug #15085.
* Implemented the flavor function which returns the flavor ofBoris Kolpackov2005-11-171-0/+44
| | | | a variable ('simple', 'recursive', or 'undefined').
* Preserve the backslash that's printed by echo.Paul Smith2005-08-291-2/+2
|
* Fix make.h preprocessor directive to work better with Windows compilers.Paul Smith2005-08-291-16/+16
| | | | Fix some regression tests to (hopefully) work better on Windows.
* Wrapped calls to $(wildcard ) with $(sort) so that the resulting orderBoris Kolpackov2005-08-131-5/+5
| | | | is no longer filesystem-dependant.
* Various minor updates and code cleanups.Paul Smith2005-07-122-4/+2
|
* Fix strerror() handling for systems which set ANSI_STRING.Paul Smith2005-06-271-0/+23
| | | | | Don't print errors if "include" is specified with no arguments. New test suite for the $(shell ...) function.
* Fix Savannah bug #11913: ensure that scopes such as foreach, etc. takePaul Smith2005-06-091-23/+30
| | | | | precedence over the global scope when they're used in a global context (such as an eval).
* * New feature: -L optionPaul Smith2005-02-281-0/+10
| | | | | | | | * New function: $(info ...) * Disallow $(eval ...) to create prereq relationships inside command scripts (caused core dumps) * Try to allow more tests to succeed in Windows/DOS by sanitizing CRLF and \ * Various bug fixes and code cleanups (see the ChangeLog entry)
* Implemented `realpath' and `abspath' built-in functions.Boris Kolpackov2004-11-302-0/+152
|
* New $(lastword ) built-in function: implementation, documentation and tests.Boris Kolpackov2004-10-211-1/+38
|
* Some code cleanups and efficiency enhancements. As far as I can tellPaul Smith2004-09-211-0/+24
| | | | | none of these have impacts that are visible to the user (although in some cases that appears to be nothing more than dumb luck :-/).
* Fix some bugs in variable pattern substitution (e.g. $(VAR:A=B)),Paul Smith2004-09-211-21/+22
| | | | | | | | | 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.
* Various enhancementsPaul Smith2004-05-161-4/+3
| | | | | | | - OS/2 Patches - OpenVMS updates - Sanitize the handling of -include/sinclude with and without -k - Fix the setting of $< for order-only rules.
* Fix the origin regression test.Paul Smith2004-02-251-1/+1
| | | | Remove sample code from make.h I accidentally left behind.
* Numerous fixes: patches for OS/2; core for -f ''; makefile updates.Paul Smith2004-02-231-8/+3
|
* Fix bugs 5798 and 6195.Paul Smith2003-11-042-11/+38
|
* Fix bug #2238: the read.c:eval() function was not entirely reentrant.Paul Smith2003-01-302-4/+21
| | | | | Apply patch #1022: fix a memory corruption on very long target-specific variable definition lines.
* Enhancement (bug #2407) Make error messages more clear.Paul Smith2003-01-301-17/+44
|
* Fix bug #1744: mask extra arguments to recursive invocations of $(call ...)Paul Smith2003-01-221-0/+31
|
* Fix eval bugs 1516 and 1517.Paul Smith2002-10-251-0/+31
|
* Some updates for automake 1.7 and prep for releasing 3.80.Paul Smith2002-10-031-11/+13
|
* Install Greg McGary's patches to port the id-utils hashing functions toPaul Smith2002-07-111-25/+18
| | | | | | | GNU make. Also he provides some other performance fixups after doing some profiling of make on large makefiles. Modify the test suite to allow the use of Valgrind to find memory problems.
* Major updates in preparation for 3.80.Paul Smith2002-07-082-0/+90
| | | | | | | New version of the manual, put into the doc subdir. Enhancements: $(eval ...) and $(value ...) functions, various bug fixes, etc. See the ChangeLog. More to come.
* Fix Debian bug #144306: pass target-specific variables into the environmentPaul Smith2002-05-101-2/+14
| | | | | | | | | | properly. Fix configure: allow cross-compilation; fix getloadavg (still needs _lots_ of work!) Let $(call ...) functions to be self-referencing. Lets us do transitive closures, for example.
* * Various fixes for problems in the 3.79.0.1 pretest.Paul Smith2000-06-191-23/+15
|
* * Various bug fixes.Paul Smith2000-04-221-2/+6
|
* * Some final cleanups, and release 3.79.3.79Paul Smith2000-04-051-33/+27
|
* * A large number of fixes/enhancements. See the ChangeLog.Paul Smith2000-03-271-3/+15
| | | | * Added a new version of the German translation file.
* * Change $(call...) to not expand arguments by default.Paul Smith2000-01-111-3/+13
| | | | * Unify the way arguments are passed to builtin functions in function.c.
* * Many cleanups and bugfixes.Paul Smith1999-11-171-3/+3
| | | | * New handling of += in target-specific variables.