summaryrefslogtreecommitdiff
path: root/extras/edd_id/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'extras/edd_id/Makefile')
-rw-r--r--extras/edd_id/Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/extras/edd_id/Makefile b/extras/edd_id/Makefile
index f52c3bc3f0..f17a5b8c65 100644
--- a/extras/edd_id/Makefile
+++ b/extras/edd_id/Makefile
@@ -49,8 +49,10 @@ clean:
.PHONY: clean
install-bin: all
- $(INSTALL_PROGRAM) -D $(PROG) $(DESTDIR)$(libudevdir)/$(PROG)
- $(INSTALL_DATA) -D 61-persistent-storage-edd.rules $(DESTDIR)$(configdir)/rules.d/61-persistent-storage-edd.rules
+ $(INSTALL) -d $(DESTDIR)$(libudevdir)
+ $(INSTALL_PROGRAM) $(PROG) $(DESTDIR)$(libudevdir)/$(PROG)
+ $(INSTALL) -d $(DESTDIR)$(configdir)/rules.d/
+ $(INSTALL_DATA) 61-persistent-storage-edd.rules $(DESTDIR)$(configdir)/rules.d/61-persistent-storage-edd.rules
.PHONY: install-bin
uninstall-bin:
@@ -59,7 +61,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: