bug#33668: built-in YACC rule generates file in build dir, not source dir

2018-12-08 Thread Hans-Bernhard Bröker
[Accidentally sent this to Bruno only, before...] Am 07.12.2018 um 23:39 schrieb Bruno Haible: > Why is this important? Because without it, maintainers which ONLY use VPATH > builds on their development machine: >$ mkdir build-42 >$ cd build-42 >$ ../configure CFLAGS="-O0 -ggdb" >

bug#33668: built-in YACC rule generates file in build dir, not source dir

2018-12-07 Thread Bruno Haible
Hi, The Automake-generated Makefile rule for .y files, when run in a VPATH build, produces the generated .c file in the build directory, not in the source directory. How to reproduce: - Unpack the attached hello.tar.gz $ cd hello $ ./autogen.sh $ mkdir vpath $ cd vpath $ ../configure $ make ...