about summary refs log tree commit diff
path: root/src/libstore/Makefile.am
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2012-10-03T20·54-0400
committerEelco Dolstra <eelco.dolstra@logicblox.com>2012-10-03T20·59-0400
commit7586095504f238a35937426aa870cb6d2a7b2862 (patch)
tree4cc694fe23f94365523454305e88c91ba5e0215b /src/libstore/Makefile.am
parenta562d544d8520a0f113ad1a348e28ea00f27b693 (diff)
Remove bin2c
Diffstat (limited to 'src/libstore/Makefile.am')
-rw-r--r--src/libstore/Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstore/Makefile.am b/src/libstore/Makefile.am
index 3356557970a2..cb522d6bf856 100644
--- a/src/libstore/Makefile.am
+++ b/src/libstore/Makefile.am
@@ -29,4 +29,4 @@ AM_CXXFLAGS = -Wall \
 local-store.lo: schema.sql.hh
 
 %.sql.hh: %.sql
-	../bin2c/bin2c schema < $< > $@ || (rm $@ && exit 1)
+	sed -e 's/"/\\"/g' -e 's/.*/"\0\\n"/' < $< > $@ || (rm $@ && exit 1)