Package: automake Version: 1:1.15-6 Severity: normal Tags: upstream Dear Maintainer,
While creating a directory structure similar to the below: project/ |-- Makefile.am |-- configure.ac, etc. +-- src/ |-- Makefile.am |-- source.cc |-- source.h +-- main.cc +-- test/ |-- Makefile.am |-- thousand.cc +-- thousand.sh Where source defined a class, main ran the main program, and thousand ran a test program directly interfacing with it. thousand.sh was added to the check_SCRIPTS and TESTS, and running `make check` ran correctly. However, running forms of `make *-clean` that removed the .deps folder caused error. When the test Makefile is accessing .Po files in the src directory, they've already been deleted by the src Makefile. I get this error: make[1]: Entering directory '/home/user/project/test' Makefile:517: ../src/.deps/source.Po: No such file or directory make[1]: *** No rule to make target '../src/.deps/source.Po'. Stop. make[1]: Leaving directory '/home/user/project/test' Makefile:341: recipe for target 'maintainer-clean-recursive' failed make: *** [maintainer-clean-recursive] Error 1 Line 517 is: include ../src/$(DEPDIR)/grid.Po I attempted switching the order of SUBDIRS, and both pass the check but neither clean correctly. However, when test/ is first, it removes src/.deps thus preventing src/Makefile to include the .Po file. -- System Information: Distributor ID: Raspbian Description: Raspbian GNU/Linux 9.6 (stretch) Release: 9.6 Codename: stretch Architecture: armv7l Kernel: Linux 4.9.35-v7+ (SMP w/4 CPU cores) Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE=en_GB.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages automake depends on: ii autoconf 2.69-10 ii autotools-dev 20161112.1 automake recommends no packages. Versions of packages automake suggests: pn autoconf-doc <none> pn gnu-standards <none> -- no debconf information