diff options
Diffstat (limited to 'extras/scsi_id')
-rw-r--r-- | extras/scsi_id/Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/extras/scsi_id/Makefile b/extras/scsi_id/Makefile index 544954dc7e..c35d7dab94 100644 --- a/extras/scsi_id/Makefile +++ b/extras/scsi_id/Makefile @@ -58,11 +58,13 @@ clean: .PHONY: clean install-bin: all - $(INSTALL_PROGRAM) $(PROG) $(DESTDIR)$(sbindir)/$(PROG) + $(INSTALL_PROGRAM) -D $(PROG) $(DESTDIR)$(libudevdir)/$(PROG) + ln -sf $(DESTDIR)$(libudevdir)/$(PROG) $(DESTDIR)$(sbindir)/$(PROG) .PHONY: install-bin uninstall-bin: - - rm $(DESTDIR)$(sbindir)/$(PROG) + - rm $(DESTDIR)$(libudevdir)/$(PROG) + - rm -f $(DESTDIR)$(sbindir)/$(PROG) .PHONY: uninstall-bin install-man: |