diff options
author | Roy Marples <roy@marples.name> | 2008-03-15 00:02:39 +0100 |
---|---|---|
committer | Kay Sievers <kay.sievers@vrfy.org> | 2008-03-15 00:02:39 +0100 |
commit | 064360cde8f35d8ac6faf418ddfa39b9f3da4347 (patch) | |
tree | 595f03703f165581447560b62dcb8844f46d6ceb /extras/scsi_id | |
parent | 0ea5e96edbc66319d7711d9eab8719a2c98c843d (diff) |
Makefile: do not require GNU install
Diffstat (limited to 'extras/scsi_id')
-rw-r--r-- | extras/scsi_id/Makefile | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/extras/scsi_id/Makefile b/extras/scsi_id/Makefile index 349eeef1de..870296a666 100644 --- a/extras/scsi_id/Makefile +++ b/extras/scsi_id/Makefile @@ -58,7 +58,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: @@ -66,7 +67,8 @@ uninstall-bin: .PHONY: uninstall-bin install-man: - $(INSTALL_DATA) -D scsi_id.8 $(DESTDIR)$(mandir)/man8/scsi_id.8 + $(INSTALL) -d $(DESTDIR)$(mandir)/man8 + $(INSTALL_DATA) scsi_id.8 $(DESTDIR)$(mandir)/man8/scsi_id.8 .PHONY: install-man uninstall-man: @@ -75,8 +77,10 @@ uninstall-man: install-config: @ if [ ! -r $(DESTDIR)$(etcdir)/scsi_id.config ]; then \ - echo $(INSTALL_DATA) -D ./scsi_id.config $(DESTDIR)$(etcdir); \ - $(INSTALL_DATA) -D ./scsi_id.config $(DESTDIR)$(etcdir)/scsi_id.config; \ + echo $(INSTALL) -d $(DESTDIR)$(etcdir); \ + echo $(INSTALL_DATA) ./scsi_id.config $(DESTDIR)$(etcdir); \ + $(INSTALL) -d $(DESTDIR)$(etcdir); \ + $(INSTALL_DATA) ./scsi_id.config $(DESTDIR)$(etcdir)/scsi_id.config; \ fi .PHONY: install-config |