Details
- Reviewers
ngie bdrewery - Commits
- rS289351: Create /usr/tests *.debug file directory hierarchy
Diff Detail
- Repository
- rS FreeBSD src repository - subversion
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
Thanks!
For the record, this will let us remove the inconsistent INSTALL -d from bsd.prog.mk/bsd.lib.mk that get ran for every bsd.progs.mk recursion when installing debug symbols. While convenient, install -d is not the normal way to handle directories and only the symbols installation currently are doing this.
For the record, this will let us remove the inconsistent INSTALL -d
That's intentional - it's so that you can use bsd.prog.mk outside of the src tree and have it create the .debug directory automatically. It's not (supposed to be) used for anything in tree.
etc/Makefile | ||
---|---|---|
346 ↗ | (On Diff #9392) | This should be conditionalized on ${MK_DEBUG_FILES} != no. |
etc/Makefile | ||
---|---|---|
346 ↗ | (On Diff #9392) | No, the debug hierarchy is created unconditionally |
etc/Makefile | ||
---|---|---|
346 ↗ | (On Diff #9392) | Ok. I've seen people complain on the lists about empty directories. I think that creating the debug directory via DEBUGMKDIR would be ok, but I'm not going to quibble over the semantics too much right now. |