about summary refs log tree commit diff
path: root/mk/install.mk
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2014-04-03T15·37+0200
committerEelco Dolstra <eelco.dolstra@logicblox.com>2014-04-03T15·37+0200
commitdaa16cca11304a0e91a188176959e2af28be1f57 (patch)
tree5eec8af63571cc622799bd9593a371daf1534ea1 /mk/install.mk
parentf0de86357c18e18eccd814c8bea3bfdaf10f75f5 (diff)
parent7191a7394a3091ed2856508674f84f3a87eda5a6 (diff)
Sync with make-rules repo
Diffstat (limited to 'mk/install.mk')
-rw-r--r--mk/install.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/mk/install.mk b/mk/install.mk
index e4bc734e11fb..dad0fd8533ab 100644
--- a/mk/install.mk
+++ b/mk/install.mk
@@ -1,7 +1,7 @@
 # Add a rule for creating $(1) as a directory.  This template may be
 # called multiple times for the same directory.
 define create-dir
-   _i := $(DESTDIR)$$(strip $(1))
+   _i := $$(call add-trailing-slash, $(DESTDIR)$$(strip $(1)))
   ifndef $$(_i)_SEEN
     $$(_i)_SEEN = 1
     $$(_i):