summaryrefslogtreecommitdiff
path: root/extras/floppy/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'extras/floppy/Makefile')
-rw-r--r--extras/floppy/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/extras/floppy/Makefile b/extras/floppy/Makefile
index 784464a843..0adc373c94 100644
--- a/extras/floppy/Makefile
+++ b/extras/floppy/Makefile
@@ -49,7 +49,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:
@@ -57,7 +58,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: