aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dfilter/Makefile.am
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2005-08-01 21:09:34 +0000
committerGerald Combs <gerald@wireshark.org>2005-08-01 21:09:34 +0000
commit6bcaec9a123644ac81fc7fd3a674a28f3c110f42 (patch)
tree3eccd6a38946b567f188081bbbcd9a637532e3b8 /epan/dfilter/Makefile.am
parentf0cf1e9f64370b6b3b1123aa74ae08a096361efe (diff)
Make sure "lemon" exists before we try to use it. This can happen if we
run "make dist" before running "make". svn path=/trunk/; revision=15167
Diffstat (limited to 'epan/dfilter/Makefile.am')
-rw-r--r--epan/dfilter/Makefile.am4
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dfilter/Makefile.am b/epan/dfilter/Makefile.am
index a46ec25aaa..12828c6275 100644
--- a/epan/dfilter/Makefile.am
+++ b/epan/dfilter/Makefile.am
@@ -76,8 +76,8 @@ scanner.o : scanner.c grammar.h
LEMON=../../tools/lemon
-grammar.h : grammar.c
-grammar.c : grammar.lemon
+grammar.h : grammar.c
+grammar.c : grammar.lemon $(LEMON)/lemon
$(LEMON)/lemon t=$(srcdir)/$(LEMON)/lempar.c $(srcdir)/grammar.lemon || \
(rm -f grammar.c grammar.h ; false)