On 07/30/2012 10:52 AM, Akim Demaille wrote: > > I started to, but there are issues with building automake-ng: > > + gmake -rR V=1 > rm -f t/ax/test-defs.sh t/ax/test-defs.sh-t > sed -e 's,@datadir@,/opt/gostai/share,g' \ > -e 's,@amdir@,/opt/gostai/share/automake-ng-1.12a/am,g' \ > -e 's,@bindir@,/opt/gostai/bin,g' \ > -e 's,@docdir@,/opt/gostai/share/doc/automake-ng,g' \ > -e 's,@pkgvdatadir@,/opt/gostai/share/automake-ng-1.12a,g' \ > -e 's,@scriptdir@,/opt/gostai/share/automake-ng-1.12a,g' \ > -e 's,@automake_acdir@,/opt/gostai/share/aclocal-1.12a,g' \ > -e 's,@system_acdir@,/opt/gostai/share/aclocal,g' \ > -e "s,[@]configure_input@,Generated from test-defs.in do not edit by > hand.,g" \ > <"../../t/ax/test-defs.in" \ > | /bin/sh ./config.status --file=- >"t/ax/test-defs.sh-t" > /bin/sh: t/ax/test-defs.sh-t: No such file or directory > gmake: *** [t/ax/test-defs.sh] Error 1 > Compilation FAILED: /Users/akim/src/gnu/automake-ng: build-for-darwin V=1 > exit 2 > > I don't have any t/ax in my builddir. > Oops, VPATH-only issues, shared by mainline Automake in maint. The attached patch will fix it. Soon to be merged in 'master' and 'ng/master' as well.
Thanks, Stefano
>From a38534b1de0d0b582297cea30d163405f03924e3 Mon Sep 17 00:00:00 2001 Message-Id: <a38534b1de0d0b582297cea30d163405f03924e3.1343639315.git.stefano.lattar...@gmail.com> From: Stefano Lattarini <stefano.lattar...@gmail.com> Date: Mon, 30 Jul 2012 11:01:09 +0200 Subject: [PATCH] build: fix build in VPATH setup * Makefile.am (t/ax/test-defs.sh): Ensure the 't/ax' directory exists, before trying to create 'test-defs.sh' in there. This is required in VPATH builds. Reported-by: Akim Demaille <a...@lrde.epita.fr> Signed-off-by: Stefano Lattarini <stefano.lattar...@gmail.com> --- Makefile.am | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile.am b/Makefile.am index 20cb86d..fc37f44 100644 --- a/Makefile.am +++ b/Makefile.am @@ -414,6 +414,7 @@ EXTRA_DIST += t/ax/distcheck-hook-m4.am t/ax/test-defs.sh: t/ax/test-defs.in Makefile $(AM_V_at)rm -f $@ $@-t + $(AM_V_at)$(MKDIR_P) t/ax $(AM_V_GEN)in=t/ax/test-defs.in \ && $(do_subst) <$(srcdir)/$$in >$@-t $(generated_file_finalize) -- 1.7.12.rc0