summaryrefslogtreecommitdiff
path: root/extras/path_id/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'extras/path_id/Makefile')
-rw-r--r--extras/path_id/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/extras/path_id/Makefile b/extras/path_id/Makefile
index d8efe64187..2f0b882e65 100644
--- a/extras/path_id/Makefile
+++ b/extras/path_id/Makefile
@@ -37,7 +37,8 @@ clean:
.PHONY: clean
install-bin: all
- $(INSTALL_SCRIPT) -D $(PROG) $(DESTDIR)$(libudevdir)/$(PROG)
+ $(INSTALL) -d $(DESTDIR)$(libudevdir)
+ $(INSTALL_SCRIPT) $(PROG) $(DESTDIR)$(libudevdir)/$(PROG)
.PHONY: install-bin
uninstall-bin:
@@ -45,7 +46,8 @@ uninstall-bin:
.PHONY: uninstall-bin
install-man:
- $(INSTALL_DATA) -D $(PROG).8 $(DESTDIR)$(mandir)/man8/$(PROG).8
+ $(INSTALL) -d $(DESTDIR)$(mandir)/man8/
+ $(INSTALL_DATA) $(PROG).8 $(DESTDIR)$(mandir)/man8/$(PROG).8
.PHONY: install-man
uninstall-man: