summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMathieu Lirzin <mthl@gnu.org>2017-05-16 15:59:12 +0200
committerMathieu Lirzin <mthl@gnu.org>2017-05-20 13:52:17 +0200
commit197426b349edef0882efd7bab93b8c5fd9e7da22 (patch)
tree438d7cb9744ccf5c2eba4a9efdbab3f2d9129502
parentfc3afa8fe4d65bfad650b6230e1dc12d391a5477 (diff)
downloadautomake-197426b349edef0882efd7bab93b8c5fd9e7da22.tar.gz
automake: Update 'read_am_file' docstring.
* bin/automake.in (read_am_file): Update docstring which was referring to a non existent '%contents' variable.
-rw-r--r--bin/automake.in11
1 files changed, 7 insertions, 4 deletions
diff --git a/bin/automake.in b/bin/automake.in
index 221d7d31f..d356336c3 100644
--- a/bin/automake.in
+++ b/bin/automake.in
@@ -6208,10 +6208,13 @@ sub check_trailing_slash ($\$)
# read_am_file ($AMFILE, $WHERE, $RELDIR)
# ---------------------------------------
-# Read Makefile.am and set up %contents. Simultaneously copy lines
-# from Makefile.am into $output_trailer, or define variables as
-# appropriate. NOTE we put rules in the trailer section. We want
-# user rules to come after our generated stuff.
+# Read $AMFILE file name which is located in $RELDIR, and set up
+# global variables resetted by '&generate_makefile'. Simultaneously
+# copy lines from $AMFILE into '$output_trailer', or define variables
+# as appropriate.
+#
+# NOTE: We put rules in the trailer section. We want user rules to
+# come after our generated stuff.
sub read_am_file
{
my ($amfile, $where, $reldir) = @_;