mirror of
https://github.com/NixOS/nix
synced 2025-07-07 06:01:48 +02:00
Fix "make dist"
This commit is contained in:
parent
0c6d62cf27
commit
6ef32bddc1
9 changed files with 19 additions and 15 deletions
|
@ -9,5 +9,3 @@ bspatch_DIR := $(d)
|
|||
bspatch_SOURCES := $(d)/bspatch.c
|
||||
bspatch_LDFLAGS = -lbz2 $(bsddiff_compat_include)
|
||||
bspatch_INSTALL_DIR = $(libexecdir)/nix
|
||||
|
||||
dist-files += $(d)/compat-include/*
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue