summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2017-07-02 18:11:29 +0000
committerMarc Espie <espie@cvs.openbsd.org>2017-07-02 18:11:29 +0000
commit97380bff116636e4bea6de3eaeda1462013c37c2 (patch)
treec718c882cde2928bfab3512967dfc459d176ca83 /lib
parentc4d4d4ced7faa28551d2919133869ba47a63d5c8 (diff)
repair the tree, make sure y.tab.h is there before compiling yacc files.
problem noticed by deraadt@
Diffstat (limited to 'lib')
-rw-r--r--lib/libkeynote/Makefile4
1 files changed, 3 insertions, 1 deletions
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 || \