Due to the way make is designed, not being able to read a makefile
authorespie <espie@openbsd.org>
Tue, 30 May 2023 04:42:21 +0000 (04:42 +0000)
committerespie <espie@openbsd.org>
Tue, 30 May 2023 04:42:21 +0000 (04:42 +0000)
commit438dc521bff83743310be60cc50db78ae632e59c
tree9392331e03d2c4b4c2c982e69fb6a743d0a091a2
parent398b5afe266f9c6c25a34f6d7627bc2fc9a97bc4
Due to the way make is designed, not being able to read a makefile
is basically silent.

Record errors due to missing permissions and other oddities, and display them
when we error out due to lack of targets, as a quality-of-life diagnostic.

Based on a remark from sthen@, with some feedback and tweaks from op@

okay op@, kn@
usr.bin/make/engine.c
usr.bin/make/main.c
usr.bin/make/main.h
usr.bin/make/parse.c