diff options
author | Daniel Silverstone <dsilvers@netsurf-browser.org> | 2012-06-29 19:34:07 +0000 |
---|---|---|
committer | Daniel Silverstone <dsilvers@netsurf-browser.org> | 2012-06-29 19:34:07 +0000 |
commit | 113b28bb98c13a5712ca86227c252df51cd0d222 (patch) | |
tree | 06fc08c5cf5358d8e836f13b48f79f1039c58f4e | |
parent | 686162cc81df5bbc356adeae729789020e795e91 (diff) | |
download | buildsystem-113b28bb98c13a5712ca86227c252df51cd0d222.tar.gz buildsystem-113b28bb98c13a5712ca86227c252df51cd0d222.tar.bz2 |
Use patsubst to ensure trailing / get removed from dirs, so testtools can be found
svn path=/trunk/tools/buildsystem/; revision=14000
-rw-r--r-- | makefiles/Makefile.tools | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/makefiles/Makefile.tools b/makefiles/Makefile.tools index 231181b..10c4888 100644 --- a/makefiles/Makefile.tools +++ b/makefiles/Makefile.tools @@ -38,8 +38,8 @@ endif # Determine path used to load us, so we can locate other makefiles etc ############################################################################### -NSBUILD := $(dir $(lastword $(MAKEFILE_LIST))) -NSSHARED := $(dir $(NSBUILD)) +NSBUILD := $(patsubst %/,%,$(dir $(lastword $(MAKEFILE_LIST)))) +NSSHARED := $(patsubst %/,%,$(dir $(NSBUILD))) NSTESTTOOLS := $(NSSHARED)/testtools ############################################################################### |