From: Hiroshi Takekawa Date: Tue, 23 Jun 2020 10:17:53 +0000 (+0900) Subject: Makefile.in: Use srcdir for installing rsync-ssl X-Git-Tag: v3.2.2pre1~24 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4df1b1d4fe213d4409d5fad962f831837a4c7e23;p=thirdparty%2Frsync.git Makefile.in: Use srcdir for installing rsync-ssl When building out of source tree, we can't find rsync-ssl in the current directory and installation fails. Fix it by using the srcdir variable for the path to rsync-ssl. Signed-off-by: Hiroshi Takekawa --- diff --git a/Makefile.in b/Makefile.in index 6ca7d9eb..e13e241b 100644 --- a/Makefile.in +++ b/Makefile.in @@ -77,7 +77,7 @@ all: Makefile rsync$(EXEEXT) stunnel-rsyncd.conf @MAKE_MAN@ install: all -${MKDIR_P} ${DESTDIR}${bindir} ${INSTALLCMD} ${INSTALL_STRIP} -m 755 rsync$(EXEEXT) ${DESTDIR}${bindir} - ${INSTALLCMD} -m 755 rsync-ssl ${DESTDIR}${bindir} + ${INSTALLCMD} -m 755 $(srcdir)/rsync-ssl ${DESTDIR}${bindir} -${MKDIR_P} ${DESTDIR}${mandir}/man1 -${MKDIR_P} ${DESTDIR}${mandir}/man5 if test -f rsync.1; then ${INSTALLMAN} -m 644 rsync.1 ${DESTDIR}${mandir}/man1; fi