diff options
author | Paul Smith <psmith@gnu.org> | 2023-01-01 16:25:39 -0500 |
---|---|---|
committer | Paul Smith <psmith@gnu.org> | 2023-01-01 17:05:12 -0500 |
commit | e7ce3a655e3e125a92e1c95f483675770be7f3bc (patch) | |
tree | bd227b966f805e4d85834104630569bf27f937dd /src | |
parent | c580ebae8df0b1235b9287a59b9a3ab8c2bf9dfe (diff) | |
download | make-git-e7ce3a655e3e125a92e1c95f483675770be7f3bc.tar.gz |
Convert references from "GNU make" to "GNU Make"
Diffstat (limited to 'src')
-rw-r--r-- | src/config.ami | 2 | ||||
-rw-r--r-- | src/config.h-vms | 2 | ||||
-rw-r--r-- | src/config.h.W32 | 4 | ||||
-rw-r--r-- | src/gmk-default.scm | 6 | ||||
-rw-r--r-- | src/gnumake.h | 8 | ||||
-rw-r--r-- | src/guile.c | 16 | ||||
-rw-r--r-- | src/main.c | 2 | ||||
-rw-r--r-- | src/misc.c | 2 | ||||
-rw-r--r-- | src/output.c | 4 | ||||
-rw-r--r-- | src/output.h | 2 | ||||
-rw-r--r-- | src/rule.c | 2 | ||||
-rw-r--r-- | src/strcache.c | 2 | ||||
-rw-r--r-- | src/variable.c | 2 | ||||
-rw-r--r-- | src/version.c | 2 | ||||
-rw-r--r-- | src/vms_exit.c | 2 | ||||
-rw-r--r-- | src/vmsjobs.c | 2 |
16 files changed, 30 insertions, 30 deletions
diff --git a/src/config.ami b/src/config.ami index 1470f443..543baae3 100644 --- a/src/config.ami +++ b/src/config.ami @@ -176,7 +176,7 @@ this program. If not, see <https://www.gnu.org/licenses/>. */ /* Define this if the SCCS 'get' command understands the '-G<file>' option. */ /* #undef SCCS_GET_MINUS_G */ -/* Define this to enable job server support in GNU make. */ +/* Define this to enable job server support in GNU Make. */ /* #undef MAKE_JOBSERVER */ /* Define to be the nanoseconds member of struct stat's st_mtim, diff --git a/src/config.h-vms b/src/config.h-vms index 6031bbd8..c6cd31df 100644 --- a/src/config.h-vms +++ b/src/config.h-vms @@ -213,7 +213,7 @@ this program. If not, see <https://www.gnu.org/licenses/>. */ /* Define this if the SCCS 'get' command understands the '-G<file>' option. */ /* #undef SCCS_GET_MINUS_G */ -/* Define this to enable job server support in GNU make. */ +/* Define this to enable job server support in GNU Make. */ /* #undef MAKE_JOBSERVER */ /* Define to be the nanoseconds member of struct stat's st_mtim, diff --git a/src/config.h.W32 b/src/config.h.W32 index 1fc88309..df811e4d 100644 --- a/src/config.h.W32 +++ b/src/config.h.W32 @@ -457,10 +457,10 @@ char *ttyname (int); /* Build host information. */ #define MAKE_HOST "Windows32" -/* Define to 1 to enable job server support in GNU make. */ +/* Define to 1 to enable job server support in GNU Make. */ #define MAKE_JOBSERVER 1 -/* Define to 1 to enable 'load' support in GNU make. */ +/* Define to 1 to enable 'load' support in GNU Make. */ #define MAKE_LOAD 1 /* Define to 1 to enable symbolic link timestamp checking. */ diff --git a/src/gmk-default.scm b/src/gmk-default.scm index 8c0af759..90885111 100644 --- a/src/gmk-default.scm +++ b/src/gmk-default.scm @@ -1,4 +1,4 @@ -;; Contents of the (gnu make) Guile module +;; Contents of the (GNU Make) Guile module ;; Copyright (C) 2011-2023 Free Software Foundation, Inc. ;; This file is part of GNU Make. ;; @@ -17,7 +17,7 @@ (define (to-string-maybe x) (cond - ;; In GNU make, "false" is the empty string + ;; In GNU Make, "false" is the empty string ((or (not x) (unspecified? x) (variable? x) @@ -45,7 +45,7 @@ (walk x) (string-join (reverse! acc)))) -;; Return the value of the GNU make variable V +;; Return the value of the GNU Make variable V (define (gmk-var v) (gmk-expand (format #f "$(~a)" (obj-to-str v)))) diff --git a/src/gnumake.h b/src/gnumake.h index 9bc7a66c..b437db75 100644 --- a/src/gnumake.h +++ b/src/gnumake.h @@ -41,23 +41,23 @@ typedef char *(*gmk_func_ptr)(const char *nm, unsigned int argc, char **argv); /* Free memory returned by the gmk_expand() function. */ GMK_EXPORT void gmk_free (char *str); -/* Allocate memory in GNU make's context. */ +/* Allocate memory in GNU Make's context. */ GMK_EXPORT char *gmk_alloc (unsigned int len); /* Run $(eval ...) on the provided string BUFFER. */ GMK_EXPORT void gmk_eval (const char *buffer, const gmk_floc *floc); -/* Run GNU make expansion on the provided string STR. +/* Run GNU Make expansion on the provided string STR. Returns an allocated buffer that the caller must free with gmk_free(). */ GMK_EXPORT char *gmk_expand (const char *str); -/* Register a new GNU make function NAME (maximum of 255 chars long). +/* Register a new GNU Make function NAME (maximum of 255 chars long). When the function is expanded in the makefile, FUNC will be invoked with the appropriate arguments. The return value of FUNC must be either NULL, in which case it expands to the empty string, or a pointer to the result of the expansion in a string - created by gmk_alloc(). GNU make will free the memory when it's done. + created by gmk_alloc(). GNU Make will free the memory when it's done. MIN_ARGS is the minimum number of arguments the function requires. MAX_ARGS is the maximum number of arguments (or 0 if there's no maximum). diff --git a/src/guile.c b/src/guile.c index c8489269..c3521938 100644 --- a/src/guile.c +++ b/src/guile.c @@ -47,7 +47,7 @@ cvt_scm_to_str (SCM obj) return scm_to_locale_string (scm_call_1 (obj_to_str, obj)); } -/* Perform the GNU make expansion function. */ +/* Perform the GNU Make expansion function. */ static SCM guile_expand_wrapper (SCM obj) { @@ -65,7 +65,7 @@ guile_expand_wrapper (SCM obj) return ret; } -/* Perform the GNU make eval function. */ +/* Perform the GNU Make eval function. */ static SCM guile_eval_wrapper (SCM obj) { @@ -77,24 +77,24 @@ guile_eval_wrapper (SCM obj) return SCM_BOOL_F; } -/* Invoked by scm_c_define_module(), in the context of the GNU make module. */ +/* Invoked by scm_c_define_module(), in the context of the GNU Make module. */ static void guile_define_module (void *data UNUSED) { -/* Ingest the predefined Guile module for GNU make. */ +/* Ingest the predefined Guile module for GNU Make. */ #include "gmk-default.h" - /* Register a subr for GNU make's eval capability. */ + /* Register a subr for GNU Make's eval capability. */ scm_c_define_gsubr ("gmk-expand", 1, 0, 0, (GSUBR_TYPE) guile_expand_wrapper); - /* Register a subr for GNU make's eval capability. */ + /* Register a subr for GNU Make's eval capability. */ scm_c_define_gsubr ("gmk-eval", 1, 0, 0, (GSUBR_TYPE) guile_eval_wrapper); /* Define the rest of the module. */ scm_c_eval_string (GUILE_module_defn); } -/* Initialize the GNU make Guile module. */ +/* Initialize the GNU Make Guile module. */ static void * guile_init (void *arg UNUSED) { @@ -104,7 +104,7 @@ guile_init (void *arg UNUSED) /* Get a reference to the object-to-string translator, for later. */ obj_to_str = scm_variable_ref (scm_c_module_lookup (make_mod, "obj-to-str")); - /* Import the GNU make module exports into the generic space. */ + /* Import the GNU Make module exports into the generic space. */ scm_c_eval_string ("(use-modules (gnu make))"); return NULL; @@ -698,7 +698,7 @@ initialize_stopchar_map (void) /* This code is stolen from gnulib. If/when we abandon the requirement to work with K&R compilers, we can - remove this (and perhaps other parts of GNU make!) and migrate to using + remove this (and perhaps other parts of GNU Make!) and migrate to using gnulib directly. This is called only through atexit(), which means die() has already been @@ -158,7 +158,7 @@ collapse_continuations (char *line) if (i & 1) { /* Backslash/newline handling: - In traditional GNU make all trailing whitespace, consecutive + In traditional GNU Make all trailing whitespace, consecutive backslash/newlines, and any leading non-newline whitespace on the next line is reduced to a single space. In POSIX, each backslash/newline and is replaced by a space. */ diff --git a/src/output.c b/src/output.c index 5a82cada..1ef3e607 100644 --- a/src/output.c +++ b/src/output.c @@ -1,4 +1,4 @@ -/* Output to stdout / stderr for GNU make +/* Output to stdout / stderr for GNU Make Copyright (C) 2013-2023 Free Software Foundation, Inc. This file is part of GNU Make. @@ -18,7 +18,7 @@ this program. If not, see <https://www.gnu.org/licenses/>. */ #include "os.h" #include "output.h" -/* GNU make no longer supports pre-ANSI89 environments. */ +/* GNU Make no longer supports pre-ANSI89 environments. */ #include <assert.h> #include <stdio.h> diff --git a/src/output.h b/src/output.h index d12bd2b7..50e32594 100644 --- a/src/output.h +++ b/src/output.h @@ -1,4 +1,4 @@ -/* Output to stdout / stderr for GNU make +/* Output to stdout / stderr for GNU Make Copyright (C) 2013-2023 Free Software Foundation, Inc. This file is part of GNU Make. @@ -346,7 +346,7 @@ convert_to_pattern (void) /* POSIX says that suffix rules can't have prerequisites. In POSIX mode, don't make this a suffix rule. Previous versions - of GNU make did treat this as a suffix rule and ignored the + of GNU Make did treat this as a suffix rule and ignored the prerequisites, which is bad. In the future we'll do the same as POSIX, but for now preserve the old behavior and warn about it. */ if (f->deps != 0) diff --git a/src/strcache.c b/src/strcache.c index 5c8caa9c..baa3a9fb 100644 --- a/src/strcache.c +++ b/src/strcache.c @@ -53,7 +53,7 @@ static unsigned long total_size = 0; /* Add a new buffer to the cache. Add it at the front to reduce search time. This can also increase the overhead, since it's less likely that older - buffers will be filled in. However, GNU make has so many smaller strings + buffers will be filled in. However, GNU Make has so many smaller strings that this doesn't seem to be much of an issue in practice. */ static struct strcache * diff --git a/src/variable.c b/src/variable.c index 3c02cbe9..63c4f44f 100644 --- a/src/variable.c +++ b/src/variable.c @@ -905,7 +905,7 @@ define_automatic_variables (void) if (!replace || !*replace->value) replace = lookup_variable ("OS2_SHELL", 9); # else -# warning NO_CMD_DEFAULT: GNU make will not use CMD.EXE as default shell +# warning NO_CMD_DEFAULT: GNU Make will not use CMD.EXE as default shell # endif if (replace && *replace->value) diff --git a/src/version.c b/src/version.c index fb707796..61faea75 100644 --- a/src/version.c +++ b/src/version.c @@ -1,4 +1,4 @@ -/* Record version and build host architecture for GNU make. +/* Record version and build host architecture for GNU Make. Copyright (C) 1988-2023 Free Software Foundation, Inc. This file is part of GNU Make. diff --git a/src/vms_exit.c b/src/vms_exit.c index 3c57e9ce..2aba14cf 100644 --- a/src/vms_exit.c +++ b/src/vms_exit.c @@ -36,7 +36,7 @@ decc$exit (int status); #endif /* Lowest legal non-success VMS exit code is 8 */ -/* GNU make only defines codes 0, 1, 2 */ +/* GNU Make only defines codes 0, 1, 2 */ /* So assume any exit code > 8 is a VMS exit code */ #ifndef MAX_EXPECTED_EXIT_CODE diff --git a/src/vmsjobs.c b/src/vmsjobs.c index 0c67226e..64022452 100644 --- a/src/vmsjobs.c +++ b/src/vmsjobs.c @@ -28,7 +28,7 @@ void decc$exit (int status); /* Lowest legal non-success VMS exit code is 8 */ -/* GNU make only defines codes 0, 1, 2 */ +/* GNU Make only defines codes 0, 1, 2 */ /* So assume any exit code > 8 is a VMS exit code */ #ifndef MAX_EXPECTED_EXIT_CODE |