summaryrefslogtreecommitdiff
path: root/extras/collect
diff options
context:
space:
mode:
Diffstat (limited to 'extras/collect')
-rw-r--r--extras/collect/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/extras/collect/Makefile b/extras/collect/Makefile
index 6168a8b805..76487017dd 100644
--- a/extras/collect/Makefile
+++ b/extras/collect/Makefile
@@ -44,7 +44,8 @@ clean:
.PHONY: clean
install-bin: all
- $(INSTALL_PROGRAM) -D $(PROG) $(DESTDIR)$(libudevdir)/$(PROG)
+ $(INSTALL) -d $(DESTDIR)$(libudevdir)
+ $(INSTALL_PROGRAM) $(PROG) $(DESTDIR)$(libudevdir)/$(PROG)
.PHONY: install-bin
uninstall-bin: