summaryrefslogtreecommitdiff
path: root/extras/path_id
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/path_id
parent0ea5e96edbc66319d7711d9eab8719a2c98c843d (diff)
Makefile: do not require GNU install
Diffstat (limited to 'extras/path_id')
-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: