diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2013-11-22 16:45:52 +0000 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2013-11-22 16:45:52 +0000 |
commit | 754c05ed6c3b88f8180ae8686e030b5b02b23d43 (patch) | |
tree | c7f8238ee141c0564823122c52fed070ea8f2c0b /src/libexpr | |
parent | 9a14d5e2f3a0b6ab626b9d22256df8bcc1c585a3 (diff) |
Rename $(here) to $(d) for brevity, and remove trailing slash
Diffstat (limited to 'src/libexpr')
-rw-r--r-- | src/libexpr/Makefile.new | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/libexpr/Makefile.new b/src/libexpr/Makefile.new index 566436584..3fd4fc7b2 100644 --- a/src/libexpr/Makefile.new +++ b/src/libexpr/Makefile.new @@ -1,14 +1,14 @@ LIBS += libexpr -libexpr_DIR := $(here) +libexpr_DIR := $(d) libexpr_SOURCES = \ nixexpr.cc eval.cc primops.cc lexer-tab.cc parser-tab.cc \ get-drvs.cc attr-path.cc value-to-xml.cc value-to-json.cc \ common-opts.cc names.cc -$(here)parser-tab.cc $(here)parser-tab.hh: $(here)parser.y - bison -v -o $(here)parser-tab.cc $< -d +$(d)/parser-tab.cc $(d)/parser-tab.hh: $(d)/parser.y + bison -v -o $(libexpr_DIR)/parser-tab.cc $< -d -$(here)lexer-tab.cc $(here)lexer-tab.hh: $(here)lexer.l - flex --outfile $(here)lexer-tab.cc --header-file=$(here)lexer-tab.hh $< +$(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 $< |