Page MenuHomeFreeBSD

mk: Set the DIR tags based on the files one
ClosedPublic

Authored by manu on Dec 21 2020, 10:58 PM.

Details

Summary

Otherwise we loose the info as we use bsd.dirs.mk for creating directories.

Diff Detail

Repository
R10 FreeBSD src repository
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

manu requested review of this revision.Dec 21 2020, 10:58 PM

Where does this get used?

In any makefile that uses some FILESGROUP (usr.sbin/kyua was my main test case).

Ah, thanks. It's still not immediately clear to me how the new variable gets used, e.g. when (based on the kyua example) DOCSDIRTAGS is now set

Ah, thanks. It's still not immediately clear to me how the new variable gets used, e.g. when (based on the kyua example) DOCSDIRTAGS is now set

Yeah, it wasn't exactly clear to me at first what was the problem :)

This revision is now accepted and ready to land.Jan 4 2021, 1:28 PM
This revision was automatically updated to reflect the committed changes.