]> git.ipfire.org Git - thirdparty/automake.git/commit
cleanup: remove two almost-unused global variables: {am,in}_file_name
authorStefano Lattarini <stefano.lattarini@gmail.com>
Mon, 30 Jul 2012 18:30:23 +0000 (20:30 +0200)
committerStefano Lattarini <stefano.lattarini@gmail.com>
Fri, 10 Aug 2012 09:50:56 +0000 (11:50 +0200)
commit21ec3a527390dc996ae09172b625a576f82ebcba
tree456c10af4fe3ba1fbc0055300096e0b4cdbaa3eb
parent3c85b9c95b745b08aea12afe1f0839d30228cbaa
cleanup: remove two almost-unused global variables: {am,in}_file_name

Cherry picked from commit v1.12.2-739-gbf2a8b0 of Automake-NG.

* automake.in ($am_file_name, $in_file_name): Delete these, which were
used only in the 'read_main_am_file' subroutine; instead ...
(read_main_am_file): ... modify it to only work from the '$makefile_am'
argument (which it was already receiving), and the new '$makefile_in'
argument, which is now passed to it ...
(generate_makefile): ... from here.
(initialize_per_input): Don't reset the two deleted variables anymore.

Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
automake.in