]> CyberLeo.Net >> Repos - FreeBSD/stable/9.git/commit
MFC r255775 r255796 r255807 r255930 r255929 r255957:
authorian <ian@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sat, 12 Oct 2013 17:31:21 +0000 (17:31 +0000)
committerian <ian@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sat, 12 Oct 2013 17:31:21 +0000 (17:31 +0000)
commitbd14c6ef69b9924de1bc34ef56c5a06ffa02eb92
treeeb404bd5c1cf9757075f18dd047bfbd918dc164a
parent48e7884b9c7a90d249ad42f0b7a895fca9b76e96
MFC r255775 r255796 r255807 r255930 r255929 r255957:

Create a separate script to generate osreldate.h rather than sourcing
newvers.sh into a temporary subshell with inline make rules.
Fixes PR 160646.

Allow the path to the system source directory to be passed in to
newvers.sh.  Pass it in from include/Makefile.  If it isn't passed in,
fall back to the old logic of using dirname $0.  Fixes PR 174422.

PR: 160646 174422

git-svn-id: svn://svn.freebsd.org/base/stable/9@256386 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
include/Makefile
include/mk-osreldate.sh [new file with mode: 0755]
sys/conf/newvers.sh