diff options
author | Simon J. Gerraty <sjg@FreeBSD.org> | 2013-02-16 01:36:14 +0000 |
---|---|---|
committer | Simon J. Gerraty <sjg@FreeBSD.org> | 2013-02-16 01:36:14 +0000 |
commit | b068afb4a2591b2e1bf32a707bd9e53e2c2905d3 (patch) | |
tree | 16337d71747e36fba29718f01b5b66a4a15a68fa /include/Makefile | |
parent | ddafe925432ffaebfb6a947e0ee6219729c179e2 (diff) | |
download | src-b068afb4a2591b2e1bf32a707bd9e53e2c2905d3.tar.gz src-b068afb4a2591b2e1bf32a707bd9e53e2c2905d3.zip |
Avoid problems with read-only osreldate.h
Notes
Notes:
svn path=/projects/bmake/; revision=246870
Diffstat (limited to 'include/Makefile')
-rw-r--r-- | include/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/Makefile b/include/Makefile index c5bfe5ea7e01..a983e225560a 100644 --- a/include/Makefile +++ b/include/Makefile @@ -99,6 +99,7 @@ osreldate.h: ${.CURDIR}/../sys/conf/newvers.sh ${.CURDIR}/../sys/sys/param.h \ @MAKE=${MAKE}; \ PARAMFILE=${.CURDIR}/../sys/sys/param.h; \ . ${.CURDIR}/../sys/conf/newvers.sh; \ + rm -f osreldate.h; \ echo "$$COPYRIGHT" > osreldate.h; \ echo "#ifdef _KERNEL" >> osreldate.h; \ echo "#error \"<osreldate.h> cannot be used in the kernel, use <sys/param.h>\"" >> osreldate.h; \ |