Page MenuHomeFreeBSD

Add 'make showitools' target to report install tool paths
AcceptedPublic

Authored by emaste on Feb 27 2017, 3:58 PM.
Tags
None
Referenced Files
Unknown Object (File)
Jan 15 2024, 5:47 PM
Unknown Object (File)
Dec 31 2023, 9:22 PM
Unknown Object (File)
Nov 30 2023, 7:17 AM
Unknown Object (File)
Nov 6 2023, 7:28 PM
Unknown Object (File)
Sep 26 2023, 7:44 AM
Unknown Object (File)
Sep 6 2023, 4:37 AM
Unknown Object (File)
Jun 30 2023, 11:54 AM
Unknown Object (File)
May 8 2023, 10:29 AM
Subscribers
None

Details

Reviewers
bapt
bdrewery
Summary

In order to test potential fixes for PR217389, add a top-level make target to list the full paths of install tools and their required libraries.

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

emaste retitled this revision from to Add 'make showitools' target to report install tool paths.
emaste updated this object.
emaste edited the test plan for this revision. (Show Details)
emaste added reviewers: bapt, bdrewery.
bdrewery edited edge metadata.

Seems generally ok. The only problem I see is the exits will prevent a full debug output from the 'make showitools' command.

This revision is now accepted and ready to land.Feb 27 2017, 6:27 PM

I'd like to try to do something like

.for prog in ${ITOOLS}
_PROGPATH!=     which ${prog}
.if ${_PROGPATH} != ""
ITOOLS_PROGS+= ${_PROGPATH}
.else
ITOOLS_MISSING_PROGS+= ${prog}
.endif
.endfor

(moving the for-loop from shell to make) but it doesn't work.

I wonder if I should move the itools progs & libs logic into a little helper shell script invoked by make?