comparison Makefile.in @ 882:f05107560aa9

Fix so that "make install" for multi target won't fail on scp which doesn't have a manpage
author Mike Frysinger <vapier@gentoo.org>
date Wed, 11 Dec 2013 21:50:33 +0800
parents 77972dc491ca
children 3899ca4b65fd
comparison
equal deleted inserted replaced
881:77972dc491ca 882:f05107560aa9
134 insmulti%: dropbearmulti 134 insmulti%: dropbearmulti
135 $(INSTALL) -d $(DESTDIR)$(bindir) 135 $(INSTALL) -d $(DESTDIR)$(bindir)
136 -rm -f $(DESTDIR)$(bindir)/$*$(EXEEXT) 136 -rm -f $(DESTDIR)$(bindir)/$*$(EXEEXT)
137 -ln -s $(bindir)/dropbearmulti$(EXEEXT) $(DESTDIR)$(bindir)/$*$(EXEEXT) 137 -ln -s $(bindir)/dropbearmulti$(EXEEXT) $(DESTDIR)$(bindir)/$*$(EXEEXT)
138 $(INSTALL) -d $(DESTDIR)$(mandir)/man1 138 $(INSTALL) -d $(DESTDIR)$(mandir)/man1
139 $(INSTALL) -m 644 $*.1 $(DESTDIR)$(mandir)/man1/$*.1 139 if test -e $*.1; then $(INSTALL) -m 644 $*.1 $(DESTDIR)$(mandir)/man1/$*.1; fi
140 140
141 # dropbear should go in sbin, so it needs a seperate rule 141 # dropbear should go in sbin, so it needs a seperate rule
142 inst_dropbear: dropbear 142 inst_dropbear: dropbear
143 $(INSTALL) -d $(DESTDIR)$(sbindir) 143 $(INSTALL) -d $(DESTDIR)$(sbindir)
144 $(INSTALL) dropbear$(EXEEXT) $(DESTDIR)$(sbindir) 144 $(INSTALL) dropbear$(EXEEXT) $(DESTDIR)$(sbindir)