summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2004-09-21 12:14:20 +0000
committerMatt Johnston <matt@ucc.asn.au>2004-09-21 12:14:20 +0000
commit2f768190503856f6dce5704b906feb6871373029 (patch)
tree24f4716ffe5ea14d9cc652c600627cd76ea38f2b
parent7130f456c6123b755a873cd773b94719fb43bcc0 (diff)
downloaddropbear-2f768190503856f6dce5704b906feb6871373029.tar.gz
use inst_ rather than inst, so it doesn't try to install "all".
-rw-r--r--Makefile.in6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile.in b/Makefile.in
index 0d77571..9feee84 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -114,7 +114,7 @@ all: $(TARGETS)
strip: $(TARGETS)
$(STRIP) $(addsuffix $(EXEEXT), $(addprefix $(SPREFIX), $(TARGETS)))
-install: $(addprefix inst, $(TARGETS))
+install: $(addprefix inst_, $(TARGETS))
installdropbearmulti: insdbmulti $(addprefix insmulti, $(PROGRAMS))
@@ -133,13 +133,13 @@ insmulti%: dropbearmulti
-ln -s $(DESTDIR)$(bindir)/$(SPREFIX)dropbearmulti$(EXEEXT) $(DESTDIR)$(bindir)/$(SPREFIX)$*$(EXEEXT)
# dropbear should go in sbin, so it needs a seperate rule
-instdropbear: dropbear
+inst_dropbear: dropbear
$(INSTALL) -d -m 755 $(DESTDIR)$(sbindir)
$(INSTALL) -m 755 $(SPREFIX)dropbear$(EXEEXT) $(DESTDIR)$(sbindir)
-chown root $(DESTDIR)$(sbindir)/$(SPREFIX)dropbear$(EXEEXT)
-chgrp 0 $(DESTDIR)$(sbindir)/$(SPREFIX)dropbear$(EXEEXT)
-inst%: $*
+inst_%: $*
$(INSTALL) -d -m 755 $(DESTDIR)$(bindir)
$(INSTALL) -m 755 $(SPREFIX)$*$(EXEEXT) $(DESTDIR)$(bindir)
-chown root $(DESTDIR)$(bindir)/$(SPREFIX)$*$(EXEEXT)