Make it work on GNU Make > 3.81 again

This commit is contained in:
Eelco Dolstra 2014-02-18 13:35:35 +01:00
parent 79f699edca
commit 7bef965d6f
4 changed files with 8 additions and 8 deletions

View file

@ -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):