diff options
author | Matthias Paulmier <matthias.paulmier@etu.u-bordeaux.fr> | 2018-07-27 14:55:29 +0200 |
---|---|---|
committer | Matthias Paulmier <matthias.paulmier@etu.u-bordeaux.fr> | 2018-07-27 14:55:29 +0200 |
commit | 4c6369f47daf6675dc9c2f48cd45900d0650cd47 (patch) | |
tree | 7da6110b597d35dfef679cf949ed88745f726b13 /bin/automake.in | |
parent | fea9e74524fbac25c719aac2bdf1a2e2d99a6873 (diff) | |
download | automake-4c6369f47daf6675dc9c2f48cd45900d0650cd47.tar.gz |
lib/Automake/File.pm: Change the way make_paragraphs works
We now call preprocess_file before make_paragraphs. This is useful to test
the lib as we can now feed a file handle (Automake::XFile) directly to
make_paragraphs (and not simply a filename).
Diffstat (limited to 'bin/automake.in')
-rwxr-xr-x | bin/automake.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/automake.in b/bin/automake.in index 6c79d1422..c0cfd1e6f 100755 --- a/bin/automake.in +++ b/bin/automake.in @@ -1787,7 +1787,7 @@ sub handle_compile () 'DISTRMS' => join ("\n", @dist_rms) ); - my @paragraphs = make_paragraphs ($filename, %transform); + my @paragraphs = make_paragraphs (preprocess_file ($filename, %transform)); my ($coms, $vars, $rules) = file_contents_internal (1, $filename, new Automake::Location, \@paragraphs, %transform); |