Mercurial > dropbear
comparison Makefile.in @ 132:c56d40d54538
use inst_ rather than inst, so it doesn't try to install "all".
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Tue, 21 Sep 2004 12:14:20 +0000 |
parents | 3394a7cb30cd |
children | a3b58707122b |
comparison
equal
deleted
inserted
replaced
131:9c372a039532 | 132:c56d40d54538 |
---|---|
112 all: $(TARGETS) | 112 all: $(TARGETS) |
113 | 113 |
114 strip: $(TARGETS) | 114 strip: $(TARGETS) |
115 $(STRIP) $(addsuffix $(EXEEXT), $(addprefix $(SPREFIX), $(TARGETS))) | 115 $(STRIP) $(addsuffix $(EXEEXT), $(addprefix $(SPREFIX), $(TARGETS))) |
116 | 116 |
117 install: $(addprefix inst, $(TARGETS)) | 117 install: $(addprefix inst_, $(TARGETS)) |
118 | 118 |
119 installdropbearmulti: insdbmulti $(addprefix insmulti, $(PROGRAMS)) | 119 installdropbearmulti: insdbmulti $(addprefix insmulti, $(PROGRAMS)) |
120 | 120 |
121 insdbmulti: dropbearmulti | 121 insdbmulti: dropbearmulti |
122 $(INSTALL) -d -m 755 $(DESTDIR)$(bindir) | 122 $(INSTALL) -d -m 755 $(DESTDIR)$(bindir) |
131 insmulti%: dropbearmulti | 131 insmulti%: dropbearmulti |
132 -rm -f $(DESTDIR)$(bindir)/$(SPREFIX)$*$(EXEEXT) | 132 -rm -f $(DESTDIR)$(bindir)/$(SPREFIX)$*$(EXEEXT) |
133 -ln -s $(DESTDIR)$(bindir)/$(SPREFIX)dropbearmulti$(EXEEXT) $(DESTDIR)$(bindir)/$(SPREFIX)$*$(EXEEXT) | 133 -ln -s $(DESTDIR)$(bindir)/$(SPREFIX)dropbearmulti$(EXEEXT) $(DESTDIR)$(bindir)/$(SPREFIX)$*$(EXEEXT) |
134 | 134 |
135 # dropbear should go in sbin, so it needs a seperate rule | 135 # dropbear should go in sbin, so it needs a seperate rule |
136 instdropbear: dropbear | 136 inst_dropbear: dropbear |
137 $(INSTALL) -d -m 755 $(DESTDIR)$(sbindir) | 137 $(INSTALL) -d -m 755 $(DESTDIR)$(sbindir) |
138 $(INSTALL) -m 755 $(SPREFIX)dropbear$(EXEEXT) $(DESTDIR)$(sbindir) | 138 $(INSTALL) -m 755 $(SPREFIX)dropbear$(EXEEXT) $(DESTDIR)$(sbindir) |
139 -chown root $(DESTDIR)$(sbindir)/$(SPREFIX)dropbear$(EXEEXT) | 139 -chown root $(DESTDIR)$(sbindir)/$(SPREFIX)dropbear$(EXEEXT) |
140 -chgrp 0 $(DESTDIR)$(sbindir)/$(SPREFIX)dropbear$(EXEEXT) | 140 -chgrp 0 $(DESTDIR)$(sbindir)/$(SPREFIX)dropbear$(EXEEXT) |
141 | 141 |
142 inst%: $* | 142 inst_%: $* |
143 $(INSTALL) -d -m 755 $(DESTDIR)$(bindir) | 143 $(INSTALL) -d -m 755 $(DESTDIR)$(bindir) |
144 $(INSTALL) -m 755 $(SPREFIX)$*$(EXEEXT) $(DESTDIR)$(bindir) | 144 $(INSTALL) -m 755 $(SPREFIX)$*$(EXEEXT) $(DESTDIR)$(bindir) |
145 -chown root $(DESTDIR)$(bindir)/$(SPREFIX)$*$(EXEEXT) | 145 -chown root $(DESTDIR)$(bindir)/$(SPREFIX)$*$(EXEEXT) |
146 -chgrp 0 $(DESTDIR)$(bindir)/$(SPREFIX)$*$(EXEEXT) | 146 -chgrp 0 $(DESTDIR)$(bindir)/$(SPREFIX)$*$(EXEEXT) |
147 | 147 |