diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2014-09-05T12·17+0200 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2014-09-05T12·17+0200 |
commit | 075cfe3b97bf0e90577bb7e842ba467524fad0ef (patch) | |
tree | d6675899455abe1472c260feb0e7584ab8f9804a /functions.mk | |
parent | afbdd5533448724aaf32b434fda8478ad5d80a0f (diff) |
Add support for using a build directory
Diffstat (limited to 'functions.mk')
-rw-r--r-- | functions.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/functions.mk b/functions.mk index 45d917399391..c48775db8c3b 100644 --- a/functions.mk +++ b/functions.mk @@ -10,5 +10,5 @@ filename-to-dep = $(dir $1).$(notdir $1).dep # empty string if not found. find-program = $(shell for i in $$(IFS=: ; echo $$PATH); do p=$$i/$(strip $1); if [ -e $$p ]; then echo $$p; break; fi; done) -# Remove trailing slash. +# Ensure that the given string ends in a single slash. add-trailing-slash = $(patsubst %/,%,$(1))/ |