Tor's make clean and distclean should not depend on the exact automake version
When I upgraded from automake-1.15 to automake-1.16, my existing build directoru became unusable - I could not execute any commands. Running autogen.sh did not help.
Every command failed like this:
$ make distclean
cd . && /bin/sh /Users/dev/tor/missing automake-1.15 --foreign Makefile
/Users/dev/tor/missing: line 81: automake-1.15: command not found
WARNING: 'automake-1.15' is missing on your system.
You should only need it if you modified 'Makefile.am' or
'configure.ac' or m4 files included by 'configure.ac'.
The 'automake' program is part of the GNU Automake package:
<https://www.gnu.org/software/automake>
It also requires GNU Autoconf, GNU m4 and Perl in order to run:
<https://www.gnu.org/software/autoconf>
<https://www.gnu.org/software/m4/>
<https://www.perl.org/>
make: *** [Makefile.in] Error 127
Exit 2
A workaround is to link automake-1.16 to automake-1.15 somewhere in your path.