From 2fb9bdc7edbcfe462a1bd7e5ad29dcda75064c40 Mon Sep 17 00:00:00 2001 From: Andrey Gursky Date: Sun, 6 Dec 2015 22:24:01 +0100 Subject: [PATCH] Fix out-of-tree build (regression) This is a regression compared to the last release v3.1.1. Current behavior can be reproduced as follows. git clone git://git.samba.org/rsync.git rsync.git cd rsync.git git checkout bb853b32055a16e983267c6f5b8244aac311fdf9 rm configure.sh config.h.in aclocal.m4 make -f prepare-source.mak cd .. mkdir rsync-build cd rsync-build ../rsync.git/configure.sh --with-included-zlib=yes --enable-maintainer-mode --prefix=/home/andrey/progs make Error message: make: *** No rule to make target `m4/*.m4', needed by `aclocal.m4'. https://bugzilla.samba.org/show_bug.cgi?id=11635 --- Makefile.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.in b/Makefile.in index b041b2c..151247d 100644 --- a/Makefile.in +++ b/Makefile.in @@ -144,7 +144,7 @@ gensend: gen conf: cd $(srcdir) && $(MAKE) -f prepare-source.mak conf -aclocal.m4: m4/*.m4 +aclocal.m4: $(srcdir)/m4/*.m4 aclocal -I $(srcdir)/m4 configure.sh config.h.in: configure.ac aclocal.m4 -- 2.6.2