From 18546c2c50db17d55c81f863fe6482342c741307 Mon Sep 17 00:00:00 2001 From: Ralf Wildenhues Date: Sat, 6 Mar 2010 09:14:06 +0100 Subject: [PATCH] Formatting cleanups in macro comments. * automake.in, lib/Automake/Channels.pm, lib/Automake/FileUtils.pm, lib/Automake/Options.pm, lib/Automake/Variable.pm, lib/Automake/XFile.pm, m4/options.m4, m4/substnot.m4: Fix macro comment format. Signed-off-by: Ralf Wildenhues --- ChangeLog | 8 ++++++++ automake.in | 6 +++--- lib/Automake/Channels.pm | 5 +++-- lib/Automake/FileUtils.pm | 5 +++-- lib/Automake/Options.pm | 5 +++-- lib/Automake/Variable.pm | 5 +++-- lib/Automake/XFile.pm | 4 ++-- m4/options.m4 | 9 +++++---- m4/substnot.m4 | 6 +++--- 9 files changed, 33 insertions(+), 20 deletions(-) diff --git a/ChangeLog b/ChangeLog index d198ee643..82ecb1be0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2010-03-06 Ralf Wildenhues + + Formatting cleanups in macro comments. + * automake.in, lib/Automake/Channels.pm, + lib/Automake/FileUtils.pm, lib/Automake/Options.pm, + lib/Automake/Variable.pm, lib/Automake/XFile.pm, + m4/options.m4, m4/substnot.m4: Fix macro comment format. + 2010-03-03 Stefano Lattarini Ralf Wildenhues diff --git a/automake.in b/automake.in index 8692d61f8..503c22130 100755 --- a/automake.in +++ b/automake.in @@ -6468,7 +6468,7 @@ sub define_variable ($$$) # define_files_variable ($VAR, \@BASENAME, $EXTENSION, $WHERE) -# ----------------------------------------------------------- +# ------------------------------------------------------------ # Define the $VAR which content is the list of file names composed of # a @BASENAME and the $EXTENSION. sub define_files_variable ($\@$$) @@ -6606,7 +6606,7 @@ sub define_per_target_linker_variable ($$) ################################################################ # &check_trailing_slash ($WHERE, $LINE) -# -------------------------------------- +# ------------------------------------- # Return 1 iff $LINE ends with a slash. # Might modify $LINE. sub check_trailing_slash ($\$) @@ -8017,7 +8017,7 @@ sub require_conf_file_with_macro ($$$@) ################################################################ # &require_build_directory ($DIRECTORY) -# ------------------------------------ +# ------------------------------------- # Emit rules to create $DIRECTORY if needed, and return # the file that any target requiring this directory should be made # dependent upon. diff --git a/lib/Automake/Channels.pm b/lib/Automake/Channels.pm index e94819ea4..223d8d203 100644 --- a/lib/Automake/Channels.pm +++ b/lib/Automake/Channels.pm @@ -1,4 +1,5 @@ -# Copyright (C) 2002, 2004, 2006, 2008 Free Software Foundation, Inc. +# Copyright (C) 2002, 2004, 2006, 2008, 2010 Free Software Foundation, +# Inc. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -427,7 +428,7 @@ sub _format_message ($$%) } # _enqueue ($QUEUE, $KEY, $UNIQ_SCOPE, $TO_FILTER, $MSG, $FILE) -# ------------------------------------------------------------ +# ------------------------------------------------------------- # Push message on a queue, to be processed by another thread. sub _enqueue ($$$$$$) { diff --git a/lib/Automake/FileUtils.pm b/lib/Automake/FileUtils.pm index 203c7de74..e39750d30 100644 --- a/lib/Automake/FileUtils.pm +++ b/lib/Automake/FileUtils.pm @@ -1,4 +1,5 @@ -# Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. +# Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2010 Free Software +# Foundation, Inc. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -93,7 +94,7 @@ if absent, otherwise exit with error. # $FILE_NAME # find_file ($FILE_NAME, @INCLUDE) -# ------------------------------- +# -------------------------------- sub find_file ($@) { use File::Spec; diff --git a/lib/Automake/Options.pm b/lib/Automake/Options.pm index cacc7d2e1..9543aa592 100644 --- a/lib/Automake/Options.pm +++ b/lib/Automake/Options.pm @@ -1,4 +1,5 @@ -# Copyright (C) 2003, 2004, 2006, 2007, 2008, 2009 Free Software Foundation, Inc. +# Copyright (C) 2003, 2004, 2006, 2007, 2008, 2009, 2010 Free Software +# Foundation, Inc. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -234,7 +235,7 @@ Return 1 on error, 0 otherwise. # $BOOL # _process_option_list (\%OPTIONS, $WHERE, @OPTIONS) -# ------------------------------------------------- +# -------------------------------------------------- # Process a list of options. Return 1 on error, 0 otherwise. # \%OPTIONS is the hash to fill with options data, $WHERE is # the location where @OPTIONS occurred. diff --git a/lib/Automake/Variable.pm b/lib/Automake/Variable.pm index f0c867f65..8a5b56875 100644 --- a/lib/Automake/Variable.pm +++ b/lib/Automake/Variable.pm @@ -1,4 +1,5 @@ -# Copyright (C) 2003, 2004, 2005, 2006, 2008, 2009 Free Software Foundation, Inc. +# Copyright (C) 2003, 2004, 2005, 2006, 2008, 2009, 2010 Free Software +# Foundation, Inc. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -1515,7 +1516,7 @@ sub _hash_values (@) } # ($VARNAME, $GENERATED) # _gen_varname ($BASE, @DEFINITIONS) -# --------------------------------- +# ---------------------------------- # Return a variable name starting with $BASE, that will be # used to store definitions @DEFINITIONS. # @DEFINITIONS is a list of pair [$COND, @OBJECTS]. diff --git a/lib/Automake/XFile.pm b/lib/Automake/XFile.pm index f99a00ae4..7c8f5eb65 100644 --- a/lib/Automake/XFile.pm +++ b/lib/Automake/XFile.pm @@ -1,5 +1,5 @@ -# Copyright (C) 2001, 2003, 2004, 2006, 2008, 2009 Free Software Foundation, -# Inc. +# Copyright (C) 2001, 2003, 2004, 2006, 2008, 2009, 2010 Free Software +# Foundation, Inc. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by diff --git a/m4/options.m4 b/m4/options.m4 index 8e5017e8c..6824d84fa 100644 --- a/m4/options.m4 +++ b/m4/options.m4 @@ -1,12 +1,13 @@ # Helper functions for option handling. -*- Autoconf -*- -# Copyright (C) 2001, 2002, 2003, 2005, 2008 Free Software Foundation, Inc. +# Copyright (C) 2001, 2002, 2003, 2005, 2008, 2010 Free Software +# Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. -# serial 4 +# serial 5 # _AM_MANGLE_OPTION(NAME) # ----------------------- @@ -14,13 +15,13 @@ AC_DEFUN([_AM_MANGLE_OPTION], [[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])]) # _AM_SET_OPTION(NAME) -# ------------------------------ +# -------------------- # Set option NAME. Presently that only means defining a flag for this option. AC_DEFUN([_AM_SET_OPTION], [m4_define(_AM_MANGLE_OPTION([$1]), 1)]) # _AM_SET_OPTIONS(OPTIONS) -# ---------------------------------- +# ------------------------ # OPTIONS is a space-separated list of Automake options. AC_DEFUN([_AM_SET_OPTIONS], [m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])]) diff --git a/m4/substnot.m4 b/m4/substnot.m4 index 811d28685..a4cbdf58c 100644 --- a/m4/substnot.m4 +++ b/m4/substnot.m4 @@ -1,11 +1,11 @@ ## -*- Autoconf -*- -# Copyright (C) 2006, 2008 Free Software Foundation, Inc. +# Copyright (C) 2006, 2008, 2010 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. -# serial 2 +# serial 3 # _AM_SUBST_NOTMAKE(VARIABLE) # --------------------------- @@ -14,6 +14,6 @@ AC_DEFUN([_AM_SUBST_NOTMAKE]) # AM_SUBST_NOTMAKE(VARIABLE) -# --------------------------- +# -------------------------- # Public sister of _AM_SUBST_NOTMAKE. AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)]) -- 2.47.2