[patch] fix multi install (wrt scp.1)

Mike Frysinger vapier at gentoo.org
Mon Dec 9 09:21:50 WST 2013


a change was made to the Makefile.in so install wouldn't fail when trying to
install scp.1.  but that fix wasn't also made to the multiscp install target.
-mike

--- a/Makefile.in
+++ b/Makefile.in
@@ -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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
Url : http://lists.ucc.gu.uwa.edu.au/pipermail/dropbear/attachments/20131208/5900d185/attachment.sig 


More information about the Dropbear mailing list