]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r257350:
authordelphij <delphij@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sun, 3 Nov 2013 07:31:54 +0000 (07:31 +0000)
committerdelphij <delphij@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sun, 3 Nov 2013 07:31:54 +0000 (07:31 +0000)
commit8e8c966bc764265b39a47bb459bbcf323274af51
tree33db8d56cc5bcc0ff1022c16a53097013764f44e
parentb7b3f1025f0e065683a510329eea3973d16ff36b
MFC r257350:

In r257079, SRCDIR is pointed to ${.CURDIR} when not set.  However,
Makefile.inc1 is being called in sub-make's where make(1) would,
by default, implicitly chdir(2) to ${.OBJDIR} before executing any
targets.  This would make some targets, like delete-old, when trying
to derive various variables introduced by change r256921 using
``make -f Makefile.inc1'' that also rely on SRCDIR to fail.

This changeset adds an explicit cd ${.CURDIR} before these unwrapped
make calls, making them in line with the other ones that are already
being wrapped with the explicit chdir's.

Approved by: re (hrs)

git-svn-id: svn://svn.freebsd.org/base/stable/10@257563 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Makefile.inc1