From 619f5d8dac9ef21ff93824d7362ca04e418fbfeb Mon Sep 17 00:00:00 2001 From: espie Date: Sun, 2 Jul 2017 18:11:28 +0000 Subject: [PATCH] repair the tree, make sure y.tab.h is there before compiling yacc files. problem noticed by deraadt@ --- lib/libkeynote/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/libkeynote/Makefile b/lib/libkeynote/Makefile index 6a6b84c84e5..a347c189818 100644 --- a/lib/libkeynote/Makefile +++ b/lib/libkeynote/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.20 2016/03/30 06:38:42 jmc Exp $ +# $OpenBSD: Makefile,v 1.21 2017/07/02 18:11:28 espie Exp $ LIB= keynote MAN= keynote.3 keynote.4 keynote.5 @@ -19,6 +19,8 @@ k.tab.c k.tab.h: keynote.y keynote.h signature.h lex.kn.c: keynote.l keynote.y keynote.h assertion.h signature.h $(LEX.l) $(LEXFLAGS) ${.CURDIR}/keynote.l +BUILDFIRST = k.tab.h + includes: @@cd ${.CURDIR}; for i in $(HDRS); do \ j="cmp -s $$i ${DESTDIR}/usr/include/$$i || \ -- 2.20.1