about summary refs log tree commit diff
path: root/src/libstore/local.mk
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/libstore/local.mk
parent0c6d62cf27b3b22fa60bddad16ea8e8d062e4a99 (diff)
Fix "make dist"
Diffstat (limited to 'src/libstore/local.mk')
-rw-r--r--src/libstore/local.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/libstore/local.mk b/src/libstore/local.mk
index a9ae53270076..2dddce740dcc 100644
--- a/src/libstore/local.mk
+++ b/src/libstore/local.mk
@@ -23,4 +23,6 @@ libstore_CXXFLAGS = \
 $(d)/local-store.cc: $(d)/schema.sql.hh
 
 %.sql.hh: %.sql
-	sed -e 's/"/\\"/g' -e 's/\(.*\)/"\1\\n"/' < $< > $@ || (rm $@ && exit 1)
+	$(trace-gen) sed -e 's/"/\\"/g' -e 's/\(.*\)/"\1\\n"/' < $< > $@ || (rm $@ && exit 1)
+
+clean-files += $(d)/schema.sql.hh