bug#27188: lex/yacc with subdir-objects and --disable-dependency-tracking broken

2017-06-01 Thread Nick Brown
By default Debian dh passes --disable-dependacy-tracking when building. If the package rules also adds --builddirectory to use out of source builds (eg. "dh $@ --builddirectory=build --parallel --with autoreconf"), and the package happens to be using subdir-objects automake option and generated sou

bug#27186: check-TESTS has dependency on check_PROGRAMS etc

2017-06-01 Thread Nick Brown
Something like:     ./autogen.sh     ./configure     make check-TESTS  will fail, unless 'make check' is run before 'make check-TESTS' for  Makefile.am snippet like:  check_PROGRAMS = foo  check_SCRIPTS = run_foo_wrapper.sh  TESTS = $(check_SCRIPTS)  ---   lib/am/check.am | 3 ++-   1 file changed,