about summary refs log tree commit diff
path: root/src/libexpr
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2014-02-01T13·28+0100
committerEelco Dolstra <eelco.dolstra@logicblox.com>2014-02-01T13·38+0100
commit6ef32bddc1f10034322966b3a5b85af7b9cdc4d8 (patch)
tree7cd959b794ae2a969b49434416bb9d6f3af6a859 /src/libexpr
parent0c6d62cf27b3b22fa60bddad16ea8e8d062e4a99 (diff)
Fix "make dist"
Diffstat (limited to 'src/libexpr')
-rw-r--r--src/libexpr/local.mk6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/libexpr/local.mk b/src/libexpr/local.mk
index ff35155b1a96..85e476e39b21 100644
--- a/src/libexpr/local.mk
+++ b/src/libexpr/local.mk
@@ -14,7 +14,9 @@ libexpr_LIBS = libutil libstore libformat
 libexpr_LDFLAGS_PROPAGATED = $(BDW_GC_LIBS)
 
 $(d)/parser-tab.cc $(d)/parser-tab.hh: $(d)/parser.y
-	bison -v -o $(libexpr_DIR)/parser-tab.cc $< -d
+	$(trace-gen) bison -v -o $(libexpr_DIR)/parser-tab.cc $< -d
 
 $(d)/lexer-tab.cc $(d)/lexer-tab.hh: $(d)/lexer.l
-	flex --outfile $(libexpr_DIR)/lexer-tab.cc --header-file=$(libexpr_DIR)/lexer-tab.hh $<
+	$(trace-gen) flex --outfile $(libexpr_DIR)/lexer-tab.cc --header-file=$(libexpr_DIR)/lexer-tab.hh $<
+
+clean-files += $(d)/parser-tab.cc $(d)/parser-tab.hh $(d)/lexer-tab.cc $(d)/lexer-tab.hh