Fix so that "make install" for multi target won't fail on scp which doesn't

have a manpage
This commit is contained in:
Mike Frysinger 2013-12-11 21:50:33 +08:00
parent 710c1df413
commit aee1309c91

View File

@ -136,7 +136,7 @@ insmulti%: dropbearmulti
-rm -f $(DESTDIR)$(bindir)/$*$(EXEEXT)
-ln -s $(bindir)/dropbearmulti$(EXEEXT) $(DESTDIR)$(bindir)/$*$(EXEEXT)
$(INSTALL) -d $(DESTDIR)$(mandir)/man1
$(INSTALL) -m 644 $*.1 $(DESTDIR)$(mandir)/man1/$*.1
if test -e $*.1; then $(INSTALL) -m 644 $*.1 $(DESTDIR)$(mandir)/man1/$*.1; fi
# dropbear should go in sbin, so it needs a seperate rule
inst_dropbear: dropbear