comparison Makefile.in @ 635:c95860b53363

Fix symlink target created by installdropbearmulti
author Matt Johnston <matt@ucc.asn.au>
date Tue, 08 Nov 2011 20:33:19 +0800
parents fa41341f3b09
children 33fd2f3499d2 00bc3df3a9c3 eafdf8b363f5 b07eb3dc23ec
comparison
equal deleted inserted replaced
634:a98e2ced7bfa 635:c95860b53363
127 $(INSTALL) -m 755 dropbearmulti$(EXEEXT) $(DESTDIR)$(bindir) 127 $(INSTALL) -m 755 dropbearmulti$(EXEEXT) $(DESTDIR)$(bindir)
128 -chown root $(DESTDIR)$(bindir)/dropbearmulti$(EXEEXT) 128 -chown root $(DESTDIR)$(bindir)/dropbearmulti$(EXEEXT)
129 -chgrp 0 $(DESTDIR)$(bindir)/dropbearmulti$(EXEEXT) 129 -chgrp 0 $(DESTDIR)$(bindir)/dropbearmulti$(EXEEXT)
130 130
131 insmultidropbear: dropbearmulti 131 insmultidropbear: dropbearmulti
132 $(INSTALL) -d -m 755 $(DESTDIR)$(sbindir)
132 -rm -f $(DESTDIR)$(sbindir)/dropbear$(EXEEXT) 133 -rm -f $(DESTDIR)$(sbindir)/dropbear$(EXEEXT)
133 -ln -s $(DESTDIR)$(bindir)/dropbearmulti$(EXEEXT) $(DESTDIR)$(sbindir)/dropbear$(EXEEXT) 134 -ln -s $(bindir)/dropbearmulti$(EXEEXT) $(DESTDIR)$(sbindir)/dropbear$(EXEEXT)
134 135
135 insmulti%: dropbearmulti 136 insmulti%: dropbearmulti
137 $(INSTALL) -d -m 755 $(DESTDIR)$(bindir)
136 -rm -f $(DESTDIR)$(bindir)/$*$(EXEEXT) 138 -rm -f $(DESTDIR)$(bindir)/$*$(EXEEXT)
137 -ln -s $(DESTDIR)$(bindir)/dropbearmulti$(EXEEXT) $(DESTDIR)$(bindir)/$*$(EXEEXT) 139 -ln -s $(bindir)/dropbearmulti$(EXEEXT) $(DESTDIR)$(bindir)/$*$(EXEEXT)
138 140
139 # dropbear should go in sbin, so it needs a seperate rule 141 # dropbear should go in sbin, so it needs a seperate rule
140 inst_dropbear: dropbear 142 inst_dropbear: dropbear
141 $(INSTALL) -d -m 755 $(DESTDIR)$(sbindir) 143 $(INSTALL) -d -m 755 $(DESTDIR)$(sbindir)
142 $(INSTALL) -m 755 dropbear$(EXEEXT) $(DESTDIR)$(sbindir) 144 $(INSTALL) -m 755 dropbear$(EXEEXT) $(DESTDIR)$(sbindir)