summaryrefslogtreecommitdiffstats
path: root/include/mk-osreldate.sh
Commit message (Collapse)AuthorAgeFilesLines
* MFC r284289,r288267:bdrewery2015-12-041-1/+1
| | | | | | | r284289: Misc fixes from projects/bmake r288267: Remove redundant .NOPATH.
* Set proper permissions on the generated osreldate.h file; a file readableian2013-09-301-0/+1
| | | | | | | only by root can cause install problems, especially over nfs. Submitted by: jilles@ Approved by: re (gjb)
* Prevent the set -e from mk-osreldate.sh from propagating into newvers.sh.nwhitehorn2013-09-281-1/+3
| | | | | | | | | This would cause detection of old versions of SVN to cause fatal errors instead of being caught and handled, which would make the build fail if the tree had been checked out with an older version of SVN (e.g. 1.6). Discussed with: gjb Approved by: re (marius)
* Create a separate script to generate osreldate.h rather than sourcingian2013-09-211-0/+49
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
OpenPOWER on IntegriCloud