about summary refs log tree commit diff
path: root/install.mk
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2014-02-18T12·35+0100
committerEelco Dolstra <eelco.dolstra@logicblox.com>2014-02-18T12·35+0100
commit7bef965d6f191efb9c671f49fd187f4214db6120 (patch)
tree15ec20f2b30ece8c108598e79857e0ed11767820 /install.mk
parent79f699edca26c035a8bcd68c7d5a13b4fbcbf3be (diff)
Make it work on GNU Make > 3.81 again
Diffstat (limited to 'install.mk')
-rw-r--r--install.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/install.mk b/install.mk
index 0fe4cf938d50..dad0fd8533ab 100644
--- a/install.mk
+++ b/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 := $$(call remove-trailing-slash, $(DESTDIR)$$(strip $(1)))
+   _i := $$(call add-trailing-slash, $(DESTDIR)$$(strip $(1)))
   ifndef $$(_i)_SEEN
     $$(_i)_SEEN = 1
     $$(_i):