From 064360cde8f35d8ac6faf418ddfa39b9f3da4347 Mon Sep 17 00:00:00 2001 From: Roy Marples Date: Sat, 15 Mar 2008 00:02:39 +0100 Subject: Makefile: do not require GNU install --- extras/cdrom_id/Makefile | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'extras/cdrom_id') 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: -- cgit v1.2.3-54-g00ecf