freebsd-dev/share
Julio Merino ada17d7bde Ensure files are created during the build when using bsd.subdir.mk.
When FILES is defined in a Makefile that _also_ includes bsd.subdir.mk, the
build of the files (if any) was not properly triggered during the build
stage.  This was because bsd.files.mk did not define the buildfiles target
if it was already defined... and bsd.subdir.mk defined this target on its
own, thus causing a conflict.

Fix this by unconditionally defining buildfiles from bsd.files.mk; this is
safe because nothing else in the tree needs to redefine this and because the
target itself contains no commands: all it does is define dependencies.
Also ensure that bsd.files.mk is always pulled in by bsd.test.mk regardless
of what bsd.prog.mk does.

These fixes allow "make installworld" to run cleanly on a system with
read-only src and obj trees.

This is "make tinderbox" clean.

Reviewed by:	imp
Obtained from:	jilles
2014-06-09 14:36:49 +00:00
..
colldef
dict Remove dead link 2013-11-10 03:28:36 +00:00
doc Use src.opts.mk in preference to bsd.own.mk except where we need stuff 2014-05-06 04:22:01 +00:00
dtrace Use src.opts.mk in preference to bsd.own.mk except where we need stuff 2014-05-06 04:22:01 +00:00
examples Use src.opts.mk in preference to bsd.own.mk except where we need stuff 2014-05-06 04:22:01 +00:00
i18n Revert r258254: Alias WCHAR_T to UCS-4-INTERNAL. 2014-01-03 23:35:01 +00:00
info
keys Remove scary comment about this being a test key. 2014-01-13 20:55:15 +00:00
man Regen after r267233 2014-06-08 17:33:37 +00:00
me multiple: Remove 3rd clause from BSD license where approved by the 2014-03-14 03:07:51 +00:00
misc Mac OS X 10.10 is not released yet, removed. 2014-06-05 09:27:42 +00:00
mk Ensure files are created during the build when using bsd.subdir.mk. 2014-06-09 14:36:49 +00:00
mklocale
monetdef
msgdef
numericdef
security
sendmail
skel Prefer /etc/login.conf for some of these environment values. 2014-04-14 18:07:00 +00:00
snmp
syscons
tabset
termcap multiple: Remove 3rd clause from BSD license where approved by the 2014-03-14 03:07:51 +00:00
tests Add some sample test programs. 2013-11-18 12:57:46 +00:00
timedef
vt Add Ukranian vt(4) keymaps as an example. 2014-06-06 21:58:27 +00:00
zoneinfo
Makefile Install VT support files 2014-06-05 18:53:56 +00:00
Makefile.inc