diff options
author | Paul Smith <psmith@gnu.org> | 2013-09-22 12:13:28 -0400 |
---|---|---|
committer | Paul Smith <psmith@gnu.org> | 2013-09-22 17:10:35 -0400 |
commit | 0296e40fc73d88b33e78899f95ef7b6c1a957d06 (patch) | |
tree | 9d37ecd654330e2208421534e9d2d88896b779f9 /doc | |
parent | f69922b335df7c5879142f5732f481d4f52548c6 (diff) | |
download | gunmake-0296e40fc73d88b33e78899f95ef7b6c1a957d06.tar.gz |
Allow loaded objects to opt out of the "auto-rebuild" feature.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/make.texi | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/doc/make.texi b/doc/make.texi index 62c7191..f89f8b7 100644 --- a/doc/make.texi +++ b/doc/make.texi @@ -10910,7 +10910,8 @@ The @code{load} directive and extension capability is considered a ``technology preview'' in this release of GNU make. We encourage you to experiment with this feature and we appreciate any feedback on it. However we cannot guarantee to maintain backward-compatibility in the -next release. +next release. Consider using GNU Guile instead for extending GNU make +(@pxref{Guile Function, ,The @code{guile} Function}). @end quotation @end cartouche @@ -10978,7 +10979,9 @@ same directive. The initializing function will be provided the file name and line number of the invocation of the @code{load} operation. It should return a value of type @code{int}, which must be @code{0} on failure -and non-@code{0} on success. +and non-@code{0} on success. If the return value is @code{-1}, then +GNU make will @emph{not} attempt to rebuild the object file +(@pxref{Remaking Loaded Objects, ,How Loaded Objects Are Remade}). For example: |