Use "${CPP} -P ${CPPFLAGS}" instead of "cpp -P".
This commit is contained in:
parent
52e85685ca
commit
0f4ca6a061
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile,v 1.9 2004/11/27 01:39:23 christos Exp $
|
||||
# $NetBSD: Makefile,v 1.10 2004/11/28 01:10:00 lukem Exp $
|
||||
|
||||
.include "${.CURDIR}/../Makefile.inc"
|
||||
|
||||
@ -16,9 +16,9 @@ version.texi:
|
||||
echo @set UPDATED $$(date +"%d %B %Y") > ${.TARGET}
|
||||
echo @set UPDATED-MONTH $$(date +"%B %Y") >> ${.TARGET}
|
||||
echo @set EDITION $$( (cat ${.CURDIR}/../include/config.h && \
|
||||
echo VERSION) | cpp -P | tr -d \") >> ${.TARGET}
|
||||
echo VERSION) | ${CPP} -P ${CPPFLAGS} | tr -d \") >> ${.TARGET}
|
||||
echo @set VERSION $$( (cat ${.CURDIR}/../include/config.h && \
|
||||
echo VERSION) | cpp -P | tr -d \") >> ${.TARGET}
|
||||
echo VERSION) | ${CPP} -P ${CPPFLAGS} | tr -d \") >> ${.TARGET}
|
||||
|
||||
|
||||
.include <bsd.info.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user