summaryrefslogtreecommitdiff
path: root/bin/automake.in
diff options
context:
space:
mode:
authorMatthias Paulmier <matthias.paulmier@etu.u-bordeaux.fr>2018-07-27 14:55:29 +0200
committerMatthias Paulmier <matthias.paulmier@etu.u-bordeaux.fr>2018-07-27 14:55:29 +0200
commit4c6369f47daf6675dc9c2f48cd45900d0650cd47 (patch)
tree7da6110b597d35dfef679cf949ed88745f726b13 /bin/automake.in
parentfea9e74524fbac25c719aac2bdf1a2e2d99a6873 (diff)
downloadautomake-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-xbin/automake.in2
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);