build: rename print-version target to installcheck (#6620)

To make it consistent with the standard GNU make targets.

From the manual of GNU Make (version 4.4.1-2):

> 'installcheck'
>      Perform installation tests (if any).  The user must build and
>      install the program before running the tests.  You should not
>      assume that '$(bindir)' is in the search path.

Commands used to search and replace:

    $ git grep -Ilz print-version |
      xargs -0 -I '{}' sh -c "printf '%s\n' \"\$(sed \
        's/print-version/installcheck/g' '{}')\" >'{}'"
    $ git grep -Ilz 'print version' .github/workflows |
      xargs -0 -I '{}' sh -c "printf '%s\n' \"\$(sed \
        's/print version/make installcheck/g' '{}')\" >'{}'"

Added on commit c9531d95e ("build: add print-version target and use in
CI", 2024-02-22) / #6230.
This commit is contained in:
Kelvin M. Klann 2025-01-18 04:48:56 +00:00 committed by GitHub
parent cedf5e966e
commit 1a576d15a9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 24 additions and 24 deletions

View file

@ -400,8 +400,8 @@ codespell:
print-env:
./ci/printenv.sh
.PHONY: print-version
print-version: config.mk
.PHONY: installcheck
installcheck: config.mk
command -V $(TARNAME) && $(TARNAME) --version
#