summaryrefslogtreecommitdiff
path: root/extras/floppy
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2008-03-15 00:02:39 +0100
committerKay Sievers <kay.sievers@vrfy.org>2008-03-15 00:02:39 +0100
commit064360cde8f35d8ac6faf418ddfa39b9f3da4347 (patch)
tree595f03703f165581447560b62dcb8844f46d6ceb /extras/floppy
parent0ea5e96edbc66319d7711d9eab8719a2c98c843d (diff)
Makefile: do not require GNU install
Diffstat (limited to 'extras/floppy')
-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: