From 4df1b1d4fe213d4409d5fad962f831837a4c7e23 Mon Sep 17 00:00:00 2001 From: Hiroshi Takekawa Date: Tue, 23 Jun 2020 19:17:53 +0900 Subject: [PATCH] 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 --- Makefile.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.47.2