Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(133)

Unified Diff: stepmake/stepmake/generic-vars.make

Issue 575750043: stepmake: use patsubst for finding build-dir (Closed)
Patch Set: separate builddir Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: stepmake/stepmake/generic-vars.make
diff --git a/stepmake/stepmake/generic-vars.make b/stepmake/stepmake/generic-vars.make
index 59c1107a48c21470507acac0ce6d05cd802779b6..70bc6e85848431a2ba3b8082ee07d00464c799a7 100644
--- a/stepmake/stepmake/generic-vars.make
+++ b/stepmake/stepmake/generic-vars.make
@@ -1,7 +1,7 @@
top-build-dir := $(realpath $(depth) )
build-dir := $(realpath . )
-tree-dir = $(subst $(top-build-dir),,$(build-dir))
+tree-dir = $(build-dir:$(top-build-dir)%=%)
ifneq ($(configure-srcdir),.)
srcdir-build = 1
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b