summaryrefslogtreecommitdiff
path: root/usr.bin/awk
diff options
context:
space:
mode:
authorBryan Drewery <bdrewery@FreeBSD.org>2016-06-14 16:20:05 +0000
committerBryan Drewery <bdrewery@FreeBSD.org>2016-06-14 16:20:05 +0000
commit384850e0638ce3d47ecf9279861dd7676d425b30 (patch)
tree0b273e915f1348b824ec7e6b0ada1315a33aeac1 /usr.bin/awk
parent359ca97ce5b27da751d8fe71e88c535fe41bb1dc (diff)
Notes
Diffstat (limited to 'usr.bin/awk')
-rw-r--r--usr.bin/awk/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/usr.bin/awk/Makefile b/usr.bin/awk/Makefile
index 168b22eea632..f6c1baac7e42 100644
--- a/usr.bin/awk/Makefile
+++ b/usr.bin/awk/Makefile
@@ -17,8 +17,10 @@ MLINKS= awk.1 nawk.1
CLEANFILES= maketab proctab.c ytab.h
-ytab.h: awkgram.h .NOMETA
- ln -sf ${.ALLSRC} ${.TARGET}
+# XXX: awkgram.c isn't really needed here but it is added to keep
+# awkgram.h: .NOMETA respected.
+ytab.h: awkgram.c awkgram.h .NOMETA
+ ln -sf ${.ALLSRC:M*.h} ${.TARGET}
proctab.c: maketab
${BTOOLSPATH:U.}/maketab > proctab.c