aboutsummaryrefslogtreecommitdiff
path: root/src/libstore
diff options
context:
space:
mode:
authorJohn Ericson <John.Ericson@Obsidian.Systems>2023-05-15 10:38:11 -0400
committerJohn Ericson <John.Ericson@Obsidian.Systems>2023-05-15 10:38:11 -0400
commitf7c896cfd80b511c30be5452edb0a350a7dd253c (patch)
tree0ceb08c10e94d4b5236c725ada18a3d0b76b145b /src/libstore
parent0c49c1af28c7128d9dd140eb3ba392300778bd59 (diff)
Dedup some markdown -> C++ big literal stuff in build system
This pattern rule was unwisely hidden in `src/libstore/local.mk`. Now it is properly in `mk/` and we reuse it for the profile docs too.
Diffstat (limited to 'src/libstore')
-rw-r--r--src/libstore/local.mk6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/libstore/local.mk b/src/libstore/local.mk
index e5e24501e..0be0bf310 100644
--- a/src/libstore/local.mk
+++ b/src/libstore/local.mk
@@ -57,12 +57,6 @@ $(d)/local-store.cc: $(d)/schema.sql.gen.hh $(d)/ca-specific-schema.sql.gen.hh
$(d)/build.cc:
-%.gen.hh: %
- @echo 'R"foo(' >> $@.tmp
- $(trace-gen) cat $< >> $@.tmp
- @echo ')foo"' >> $@.tmp
- @mv $@.tmp $@
-
clean-files += $(d)/schema.sql.gen.hh $(d)/ca-specific-schema.sql.gen.hh
$(eval $(call install-file-in, $(d)/nix-store.pc, $(libdir)/pkgconfig, 0644))