Use create-dir for installing dynamic libraries

This commit is contained in:
Eelco Dolstra 2013-11-25 10:17:37 +00:00
parent ed0a8dd71a
commit 79b7c596a9
2 changed files with 5 additions and 4 deletions

View file

@ -4,7 +4,7 @@ define create-dir =
ifndef $(1)_SEEN
$(1)_SEEN = 1
$(1):
install -d $(1)
$(QUIET) install -d $(1)
endif
endef
@ -18,6 +18,6 @@ define install-file-in =
$$(eval $$(call create-dir,$(1)))
$(1)/$(notdir $(2)): $(2) | $(1)
install -t $(1) $(2)
$(QUIET) install -t $(1) $(2)
endef