Bug 179422 - "make: don't know how to make bsd.README. Stop" error message should be more intuitive when Makefiles are missing
Summary: "make: don't know how to make bsd.README. Stop" error message should be more ...
Status: Closed FIXED
Alias: None
Product: Base System
Classification: Unclassified
Component: conf (show other bugs)
Version: Unspecified
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-06-08 03:20 UTC by Enji Cooper
Modified: 2015-10-24 23:48 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Enji Cooper freebsd_committer freebsd_triage 2013-06-08 03:20:00 UTC
I forget the exact circumstances for how to reproduce this error, but basically if you either are missing a Makefile in a subdirectory and gets cd'ed to in Makefile.inc1, or via bsd.subdir.mk, you'll run into this problem, and it's not very intuitive:

make: don't know how to make bsd.README. Stop

Having a more intuitive error message, or checking for Makefile would be nice. Please note that this issue might be resolved via my proposed changes for conf/179111 .

How-To-Repeat: - cd usr.bin
- echo 'SUBDIR+= doesnotexist' >> Makefile
- make obj
Comment 1 Enji Cooper freebsd_committer freebsd_triage 2015-10-24 23:48:19 UTC
bdrewery made this behavior more intuitive on head recently.