Page MenuHomeFreeBSD

Add newlog.sh and setops.sh to share/mk
ClosedPublic

Authored by sjg on Jan 31 2025, 12:15 AM.
Tags
None
Referenced Files
F167355484: D48737.id150811.diff
Fri, Aug 21, 6:05 AM
Unknown Object (File)
Tue, Aug 18, 3:22 AM
Unknown Object (File)
Sat, Aug 8, 6:30 PM
Unknown Object (File)
Sat, Aug 8, 4:20 PM
Unknown Object (File)
Sat, Aug 8, 4:18 PM
Unknown Object (File)
Sat, Aug 8, 10:49 AM
Unknown Object (File)
Tue, Aug 4, 8:56 AM
Unknown Object (File)
Tue, Aug 4, 6:43 AM
Subscribers

Details

Summary

jobs.mk makes use of newlog.sh if found.

Set NEWLOG_SH in local.sys.env.mk to save jobs.mk searching for it.

PR: 284390

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 62348
Build 59232: arc lint + arc unit

Event Timeline

sjg requested review of this revision.Jan 31 2025, 12:15 AM

Note, an alternative arrangement would be for local.sys.env.mk to set NEWLOG_SH= ${SRCTOP}/contrib/bmake/mk/newlog.sh and have share/mk/Makefile install the two scripts from contrib too - as is done with posix.mk

In D48737#1112404, @sjg wrote:

Note, an alternative arrangement would be for local.sys.env.mk to set NEWLOG_SH= ${SRCTOP}/contrib/bmake/mk/newlog.sh and have share/mk/Makefile install the two scripts from contrib too - as is done with posix.mk

I think that would probably be better.

Use newlog.sh out of contrib/bmake/mk

Ensure scripts are installed executable

This revision is now accepted and ready to land.Feb 11 2025, 4:20 PM
This revision was automatically updated to reflect the committed changes.