summaryrefslogtreecommitdiff
path: root/extras/volume_id/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'extras/volume_id/Makefile')
-rw-r--r--extras/volume_id/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/extras/volume_id/Makefile b/extras/volume_id/Makefile
index 6e5006594a..50d5e338c2 100644
--- a/extras/volume_id/Makefile
+++ b/extras/volume_id/Makefile
@@ -60,7 +60,8 @@ clean:
.PHONY: clean
install-bin: all
- $(INSTALL_PROGRAM) -D $(PROG) $(DESTDIR)$(libudevdir)/$(PROG)
+ $(INSTALL) -d $(DESTDIR)$(libudevdir)
+ $(INSTALL_PROGRAM) $(PROG) $(DESTDIR)$(libudevdir)/$(PROG)
$(MAKE) -C lib install
.PHONY: install-bin
@@ -70,7 +71,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: