Bug 282081 - running `make index' without output to stdout
Summary: running `make index' without output to stdout
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Ports Framework (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Port Management Team
URL: https://reviews.freebsd.org/D47108
Keywords:
Depends on:
Blocks:
 
Reported: 2024-10-14 15:07 UTC by Wolfram Schneider
Modified: 2024-10-18 16:32 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Wolfram Schneider freebsd_committer freebsd_triage 2024-10-14 15:07:46 UTC
I tried to run `make index' without any output on success.

By default I get a message, when it starts and when it is finished.

$ git clone -q --depth=1 https://codeberg.org/freebsd/freebsd-ports
$ cd freebsd-ports
$ make -s PORTSDIR=$(pwd) index
Generating INDEX-14 - please wait.. Done.

If I set INDEX_ECHO_1ST=true the first part will be ignored, but the second part will always show

$ make -s INDEX_ECHO_1ST=true PORTSDIR=$(pwd) index
 Done.

I wish I could suppress the " Done" message as well if I set NDEX_ECHO_1ST=true
Comment 1 commit-hook freebsd_committer freebsd_triage 2024-10-18 16:32:12 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=ac29792cff952f8edb9f8318b05189d98fca1c85

commit ac29792cff952f8edb9f8318b05189d98fca1c85
Author:     Wolfram Schneider <wosch@FreeBSD.org>
AuthorDate: 2024-10-18 16:26:20 +0000
Commit:     Wolfram Schneider <wosch@FreeBSD.org>
CommitDate: 2024-10-18 16:29:05 +0000

    Makefile: enable to run `make index' without output to stdout

    e.g.: make -s INDEX_ECHO_1ST=true PORTSDIR=$(pwd) index

    PR: 282081
    Approved by: bapt
    Differential Revision: https://reviews.freebsd.org/D47108

 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)