]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
WITH_META_MODE: Fix rebuilding maketab outside of build-tools.
authorbdrewery <bdrewery@FreeBSD.org>
Tue, 14 Jun 2016 16:20:05 +0000 (16:20 +0000)
committerbdrewery <bdrewery@FreeBSD.org>
Tue, 14 Jun 2016 16:20:05 +0000 (16:20 +0000)
commite4635781ee43caef95c5279a3472a13298ad8b0a
tree0b273e915f1348b824ec7e6b0ada1315a33aeac1
parent65aaede0b9fcd350ec8d95ad87705c16f95dd134
WITH_META_MODE: Fix rebuilding maketab outside of build-tools.

The bsd.dep.mk yacc targets rely on only the .c file getting a .meta
file.  However the previous code here relying on only the .h file meant
that it would be generated with a .meta file.  r301285 made it so that
the .h file is never expected to get a .meta file.  To keep this
restriction in place add in an extra dependency on the .c file so that
it is generated at this time.  It's a hack but the best for the patterns
we have at the moment for handling build-tools and side-effect-generated
files.

Reported by: Mark Millard
Approved by: re (implicit)
Sponsored by: EMC / Isilon Storage Division
usr.bin/awk/Makefile