From 366e3a261300ae678c6e71d3ecdc5ac0c5ed5dc4 Mon Sep 17 00:00:00 2001
From: Frank Mori Hess <fmhess@speakeasy.net>
Date: Thu, 21 Aug 2003 16:10:56 +0000
Subject: [PATCH] add calib_yacc.h to BUILT_SOURCES

---
 lib/Makefile.am | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/Makefile.am b/lib/Makefile.am
index 67bdd85..cf67dd4 100644
--- a/lib/Makefile.am
+++ b/lib/Makefile.am
@@ -7,7 +7,7 @@ CLEANFILES = grammar.output
 
 EXTRA_DIST = calib_lex.l calib_yacc.y version_script
 
-BUILT_SOURCES = calib_lex.c calib_yacc.c
+BUILT_SOURCES = calib_lex.c calib_yacc.c calib_yacc.h
 
 libcomedi_la_SOURCES = \
 	buffer.c calib.c cmd.c comedi.c data.c dio.c error.c \
@@ -17,7 +17,7 @@ libcomedi_la_SOURCES = \
 libcomedi_la_CFLAGS = $(COMEDILIB_CFLAGS) -D_REENTRANT -DLOCALSTATEDIR=\"\$(localstatedir)\"
 libcomedi_la_LDFLAGS = -Wl,--version-script=$(srcdir)/version_script
 
-calib_yacc.c: $(srcdir)/calib_yacc.y
+calib_yacc.c + calib_yacc.h: $(srcdir)/calib_yacc.y
 	$(YACC) -d -p calib_yy -o $@ $<
 
 calib_lex.c: $(srcdir)/calib_lex.l
-- 
2.26.2