summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2006-03-10 11:00:11 +0000
committerru <ru@FreeBSD.org>2006-03-10 11:00:11 +0000
commit47517466d59fa96eebafd4260ff0bc54dcfacfeb (patch)
treee9aed7a1b0c13576a7fec2f8da7852ff32b10fd1 /include
parent40ba85224ca10ddd89fa3e6db9ea92d41d33547a (diff)
downloadFreeBSD-src-47517466d59fa96eebafd4260ff0bc54dcfacfeb.zip
FreeBSD-src-47517466d59fa96eebafd4260ff0bc54dcfacfeb.tar.gz
- Fix variable assignment to be portable.
- "Line up" continuations. Submitted by: bde
Diffstat (limited to 'include')
-rw-r--r--include/Makefile12
1 files changed, 6 insertions, 6 deletions
diff --git a/include/Makefile b/include/Makefile
index 9761372..62a69c5 100644
--- a/include/Makefile
+++ b/include/Makefile
@@ -76,13 +76,13 @@ osreldate.h: ${.CURDIR}/../sys/conf/newvers.sh \
${.CURDIR}/../sys/sys/param.h \
${.CURDIR}/Makefile
@${ECHO} creating osreldate.h from newvers.sh
- @setvar PARAMFILE ${.CURDIR}/../sys/sys/param.h; \
- MAKE=${MAKE} . ${.CURDIR}/../sys/conf/newvers.sh; \
- echo "$$COPYRIGHT" > osreldate.h; \
- echo "#ifdef _KERNEL" >> osreldate.h; \
+ @PARAMFILE=${.CURDIR}/../sys/sys/param.h; \
+ MAKE=${MAKE} . ${.CURDIR}/../sys/conf/newvers.sh; \
+ 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; \
- echo "#else" >> osreldate.h; \
- echo \#'undef __FreeBSD_version' >> osreldate.h; \
+ echo "#else" >> osreldate.h; \
+ echo \#'undef __FreeBSD_version' >> osreldate.h; \
echo \#'define __FreeBSD_version' $$RELDATE >> osreldate.h; \
echo "#endif" >> osreldate.h
OpenPOWER on IntegriCloud