use inst_ rather than inst, so it doesn't try to install "all".

--HG--
extra : convert_revision : 17b3eab398414e4bd5e77289bcc73f6185c4c43f
This commit is contained in:
Matt Johnston 2004-09-21 12:14:20 +00:00
parent 5ebfa4aaed
commit 028e79ddda

View File

@ -114,7 +114,7 @@ all: $(TARGETS)
strip: $(TARGETS) strip: $(TARGETS)
$(STRIP) $(addsuffix $(EXEEXT), $(addprefix $(SPREFIX), $(TARGETS))) $(STRIP) $(addsuffix $(EXEEXT), $(addprefix $(SPREFIX), $(TARGETS)))
install: $(addprefix inst, $(TARGETS)) install: $(addprefix inst_, $(TARGETS))
installdropbearmulti: insdbmulti $(addprefix insmulti, $(PROGRAMS)) installdropbearmulti: insdbmulti $(addprefix insmulti, $(PROGRAMS))
@ -133,13 +133,13 @@ insmulti%: dropbearmulti
-ln -s $(DESTDIR)$(bindir)/$(SPREFIX)dropbearmulti$(EXEEXT) $(DESTDIR)$(bindir)/$(SPREFIX)$*$(EXEEXT) -ln -s $(DESTDIR)$(bindir)/$(SPREFIX)dropbearmulti$(EXEEXT) $(DESTDIR)$(bindir)/$(SPREFIX)$*$(EXEEXT)
# dropbear should go in sbin, so it needs a seperate rule # dropbear should go in sbin, so it needs a seperate rule
instdropbear: dropbear inst_dropbear: dropbear
$(INSTALL) -d -m 755 $(DESTDIR)$(sbindir) $(INSTALL) -d -m 755 $(DESTDIR)$(sbindir)
$(INSTALL) -m 755 $(SPREFIX)dropbear$(EXEEXT) $(DESTDIR)$(sbindir) $(INSTALL) -m 755 $(SPREFIX)dropbear$(EXEEXT) $(DESTDIR)$(sbindir)
-chown root $(DESTDIR)$(sbindir)/$(SPREFIX)dropbear$(EXEEXT) -chown root $(DESTDIR)$(sbindir)/$(SPREFIX)dropbear$(EXEEXT)
-chgrp 0 $(DESTDIR)$(sbindir)/$(SPREFIX)dropbear$(EXEEXT) -chgrp 0 $(DESTDIR)$(sbindir)/$(SPREFIX)dropbear$(EXEEXT)
inst%: $* inst_%: $*
$(INSTALL) -d -m 755 $(DESTDIR)$(bindir) $(INSTALL) -d -m 755 $(DESTDIR)$(bindir)
$(INSTALL) -m 755 $(SPREFIX)$*$(EXEEXT) $(DESTDIR)$(bindir) $(INSTALL) -m 755 $(SPREFIX)$*$(EXEEXT) $(DESTDIR)$(bindir)
-chown root $(DESTDIR)$(bindir)/$(SPREFIX)$*$(EXEEXT) -chown root $(DESTDIR)$(bindir)/$(SPREFIX)$*$(EXEEXT)