More GNU Make 3.81 compatibility

This commit is contained in:
Eelco Dolstra 2014-02-18 12:57:32 +01:00
parent 581a160c11
commit 79f699edca
2 changed files with 4 additions and 1 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 := $(DESTDIR)$$(strip $(1))
_i := $$(call remove-trailing-slash, $(DESTDIR)$$(strip $(1)))
ifndef $$(_i)_SEEN
$$(_i)_SEEN = 1
$$(_i):