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