No rule to make target 'src/iwd.debug.7'
The error was initial found while trying to build an Ubuntu package update for iwd but can be triggered by those steps (basically building, cleaning the tree and trying to build again)
$ wget https://mirrors.edge.kernel.org/pub/linux/network/wireless/iwd-1.30.tar.xz $ tar xf iwd-1.30.tar.xz $ cd iwd-1.30 $ ./configure $ make $ make distclean $ autoreconf $ ./configure $ make ...
GEN src/iwd.8
make[1]: *** No rule to make target 'src/iwd.debug.7', needed by 'all-am'. Stop.
make: *** [Makefile:1579: all] Error 2
Cheers,
Sebastien