freebsd-dev/share
Bryan Drewery a00dbfa82b Fix running make in src directories without a Makefile giving confusing errors.
This fixes the following errors:
  make: don't know how to make bsd.README. Stop
  make: don't know how to make auto.obj.mk. Stop

This is easily seen in sys/dev/*.

The new behavior is now the expected output:
  make: no target to make.

This would happen as MAKESYSPATH (.../share/mk) is auto added to the -I list.
Any directory where make is ran in the src tree that has no local Makefile
would then try executing the target in share/mk/Makefile, which by default
was to build the first entry in FILES.  Of course, because bsd.README and
auto.obj.mk are not in the current directory the error is shown.

This check only works for bmake, but I will still MFC it with an extra
'!defined(.PARSEDIR) ||' guard for stable/10.

MFC after:	2 weeks
Sponsored by:	EMC / Isilon Storage Division
2015-09-24 17:36:18 +00:00
..
colldef Add META_MODE support. 2015-06-13 19:20:56 +00:00
dict Add META_MODE support. 2015-06-13 19:20:56 +00:00
doc A bibliography of FreeBSD and BSD related papers and books. 2015-08-30 20:59:19 +00:00
dtrace dd DTrace probe points, translators and a corresponding script 2015-09-13 15:50:55 +00:00
examples Add missing shebang 2015-07-04 02:24:47 +00:00
i18n new depends 2015-06-16 23:37:19 +00:00
keys
man Install kernel debug data under /usr/lib/debug 2015-09-24 16:55:22 +00:00
me Add META_MODE support. 2015-06-13 19:20:56 +00:00
misc jhg -> jgh 2015-09-05 01:00:02 +00:00
mk Fix running make in src directories without a Makefile giving confusing errors. 2015-09-24 17:36:18 +00:00
mklocale Add META_MODE support. 2015-06-13 19:20:56 +00:00
monetdef Add META_MODE support. 2015-06-13 19:20:56 +00:00
msgdef Remove rm -Rf beforeinstall hack that was needed due to a change that 2015-09-18 22:55:18 +00:00
numericdef Add META_MODE support. 2015-06-13 19:20:56 +00:00
security Add META_MODE support. 2015-06-13 19:20:56 +00:00
sendmail Add META_MODE support. 2015-06-13 19:20:56 +00:00
skel Add META_MODE support. 2015-06-13 19:20:56 +00:00
snmp Add META_MODE support. 2015-06-13 19:20:56 +00:00
syscons Add META_MODE support. 2015-06-13 19:20:56 +00:00
tabset Add META_MODE support. 2015-06-13 19:20:56 +00:00
termcap Add META_MODE support. 2015-06-13 19:20:56 +00:00
tests
timedef Add META_MODE support. 2015-06-13 19:20:56 +00:00
vt kbdmap(1): Correct menu title: keyboards have a layout, not a language 2015-05-14 18:09:56 +00:00
zoneinfo Fix build when LEAPSECONDS is enabled. 2015-08-22 07:41:28 +00:00
Makefile Only build share/dtrace if MK_CDDL != no 2015-01-25 00:32:17 +00:00
Makefile.inc