diff options
author | ian <ian@FreeBSD.org> | 2013-09-21 22:36:07 +0000 |
---|---|---|
committer | ian <ian@FreeBSD.org> | 2013-09-21 22:36:07 +0000 |
commit | be20f1474519ef183bd8439ec2df91b6cc2b641c (patch) | |
tree | 1cc7841aa918d44e6c78e3f0eb1caae1fbbf1faa /usr.bin/procstat/procstat_sigs.c | |
parent | b32fed86db62816ab222f56c1f859a444ac8648b (diff) | |
download | FreeBSD-src-be20f1474519ef183bd8439ec2df91b6cc2b641c.zip FreeBSD-src-be20f1474519ef183bd8439ec2df91b6cc2b641c.tar.gz |
Create a separate script to generate osreldate.h rather than sourcing
newvers.sh into a temporary subshell with inline make rules.
Using a separate script fixes a variety of problems, including establishing
the correct dependencies in the makefiles. It also eliminates a problem
with the way newvers.sh uses `realpath $0`, because $0 expands differently
within a script sourced into a rule in a makefile depending on the version
of make and of /bin/sh being used. The latter can cause build breakage in a
cross-build environment, and can also make it difficult to compile 10.0 on
older pre-10.0 systems.
PR: 160646 174422
Submitted by: Garrett Cooper <yaneurabeya@gmail.com>
Approved by: re (gjb)
MFC after: 2 weeks
Diffstat (limited to 'usr.bin/procstat/procstat_sigs.c')
0 files changed, 0 insertions, 0 deletions