From ae573e94eeb190fc56e5741716bc5711fa28d3ed Mon Sep 17 00:00:00 2001 From: "Alan M. Carroll" Date: Wed, 8 Oct 2014 21:12:40 -0500 Subject: [PATCH] Fix generated file problems with YACC/LEX. --- lib/tsconfig/Makefile.am | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/lib/tsconfig/Makefile.am b/lib/tsconfig/Makefile.am index 2851f7a5587..2c0f41b5386 100644 --- a/lib/tsconfig/Makefile.am +++ b/lib/tsconfig/Makefile.am @@ -52,6 +52,12 @@ if BUILD_TSCONFIG_GRAMMAR libtsconfig_la_SOURCES += TsConfigGrammar.y TsConfigSyntax.l else libtsconfig_la_SOURCES += TsConfigGrammar.c TsConfigGrammar.h TsConfigSyntax.c + +# Prevent automatic rules from firing if invalid. +TsConfigSyntax.c: ; +TsConfigGrammar.h: ; +TsConfigGrammar.c: ; + endif test_tsconfig_SOURCES = test-tsconfig.cc