summaryrefslogtreecommitdiff
path: root/extras/scsi_id
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@suse.de>2006-03-29 14:44:41 +0200
committerKay Sievers <kay.sievers@suse.de>2006-03-29 14:44:41 +0200
commit4809b49e4100e35b0dfb5d93cf501e020366de0b (patch)
treec9d119c89e740f20bf87eac41634ca7c5f7e6618 /extras/scsi_id
parent7f1ba7b03f388c1d3d03b0f66a1c0ced7707ac11 (diff)
move all *_id programs to /lib/udev/
Diffstat (limited to 'extras/scsi_id')
-rw-r--r--extras/scsi_id/Makefile6
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: