make-alpha
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[SCM] make branch, master, updated. 4.4.1-73-g31036e64


From: Paul D. Smith
Subject: [SCM] make branch, master, updated. 4.4.1-73-g31036e64
Date: Mon, 8 Jan 2024 23:34:42 -0500 (EST)

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "make".

The branch, master has been updated
       via  31036e648f4a92ae0cce215eb3d60a1311a09c60 (commit)
       via  1ff728bff4285df8924cfcba024cea58c3350f77 (commit)
      from  1161779ef8a4c938dea525defae8aa51a5a8aa28 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 31036e648f4a92ae0cce215eb3d60a1311a09c60
Author: Paul Smith <psmith@gnu.org>
Date:   Mon Jan 8 23:14:57 2024 -0500

    [SV 64571] Add --print-targets option
    
    Add an option to print a list of targets defined in the makefiles.
    Don't print targets of implicit rules, or special targets.  To
    support this remember which files are deemed suffix rule targets.
    
    Add a missing warning for single-suffix targets with prerequisites.
    
    Suggested by many.  Sample implementation by Tim <tdhutt@gmail.com>.
    
    * NEWS: Announce the new option and single-suffix warning.
    * doc/make.1: Add --print-targets to the man page.
    * doc/make.texi: Add --print-targets to the documentation.  Clean up
    the text around the definition of suffix rules.
    * src/main.c (print_targets_flag): New variable for --print-targets.
    (switches): Add a new long option --print-targets.
    (main): If the option was provided call print_targets() and exit.
    * src/filedef.h (struct file): Add a "suffix" boolean value.  Remove
    print_prereqs() since it's static.  Add new print_targets().
    * src/file.c (rehash_file): Merge the new suffix value.
    (print_prereqs): Used only locally: change to static.
    (print_target): Print targets which are not suffix rule targets and
    are not special targets.
    (print_targets): Call print_target() on each file.
    * src/rule.c (convert_to_pattern): Make maxsuffix local; it doesn't
    need to be static.  Emit ignoring prerequisites for single-suffix
    rules as well as double-suffix rules.  Remember which files are
    actually suffix rules.
    * tests/scripts/features/suffixrules: Test single-suffix behavior.
    * tests/scripts/options/print-targets: Add tests for --print-targets.

commit 1ff728bff4285df8924cfcba024cea58c3350f77
Author: Paul Smith <psmith@gnu.org>
Date:   Sun Jan 7 11:28:23 2024 -0500

    * src/makeint.h: Add an ARRAYLEN macro to compute array sizes
    
    * src/main.c: Replace inline array length computation with ARRAYLEN.
    * src/function.c: Ditto.
    * src/read.h: Ditto.

-----------------------------------------------------------------------

Summary of changes:
 NEWS                                |  9 +++++
 doc/make.1                          |  9 +++--
 doc/make.texi                       | 65 ++++++++++++++++++++++---------------
 src/file.c                          | 32 +++++++++++++++++-
 src/filedef.h                       |  3 +-
 src/function.c                      |  6 ++--
 src/main.c                          | 28 +++++++++++-----
 src/makeint.h                       |  3 ++
 src/read.c                          |  2 +-
 src/rule.c                          | 33 ++++++++++++-------
 tests/scripts/features/suffixrules  | 28 +++++++++++++---
 tests/scripts/options/print-targets | 32 ++++++++++++++++++
 12 files changed, 190 insertions(+), 60 deletions(-)
 create mode 100644 tests/scripts/options/print-targets


hooks/post-receive
-- 
make



reply via email to

[Prev in Thread] Current Thread [Next in Thread]