Hi,

Please find attached a patch the fixes a few typos detected by codespell.

Best Regards,
Dimitri Papadopoulos
diff --git a/HACKING b/HACKING
index 5f8644e71..3390cd2a3 100644
--- a/HACKING
+++ b/HACKING
@@ -259,7 +259,7 @@
 
       Here goes a more detailed explanation of why the commit is needed,
       and a general overview of what it does, and how.  This section
-      should almost always be provided, possibly only with the expection
+      should almost always be provided, possibly only with the exception
       of obvious fixes or very trivial changes.
 
       And if the detailed explanation is quite long or detailed, you can
diff --git a/doc/help2man b/doc/help2man
index db8bedf3f..bab15be62 100755
--- a/doc/help2man
+++ b/doc/help2man
@@ -247,7 +247,7 @@ my $help_text   = get_option_value $ARGV[0], $help_option;
 $version_text ||= get_option_value $ARGV[0], $version_option;
 
 # By default the generated manual pages will include the current date.  This may
-# however be overriden by setting the environment variable $SOURCE_DATE_EPOCH
+# however be overridden by setting the environment variable $SOURCE_DATE_EPOCH
 # to an integer value of the seconds since the UNIX epoch.  This is primarily
 # intended to support reproducible builds (wiki.debian.org/ReproducibleBuilds)
 # and will additionally ensure that the output date string is UTC.
diff --git a/doc/local.mk b/doc/local.mk
index 7bd1f3907..34b959f5b 100644
--- a/doc/local.mk
+++ b/doc/local.mk
@@ -126,7 +126,7 @@ setup_autotools_paths = { \
 $(srcdir)/%D%/amhello-1.0.tar.gz: $(amhello_sources) $(srcdir)/configure.ac
 	$(AM_V_GEN)tmp=amhello-output.tmp \
 	  && $(am__cd) $(srcdir)/%D%/amhello \
-	  && : Make our	aclocal and automake avaiable before system ones. \
+	  && : Make our	aclocal and automake available before system ones. \
 	  && $(setup_autotools_paths) \
 	  && ( \
 	    { $(AM_V_P) || exec 5>&2 >$$tmp 2>&1; } \
diff --git a/lib/am/header-vars.am b/lib/am/header-vars.am
index f4a0102d2..e7f6ba895 100644
--- a/lib/am/header-vars.am
+++ b/lib/am/header-vars.am
@@ -31,7 +31,7 @@ VPATH = @srcdir@
 ## Why the this needs to be so convoluted?
 ##
 ## (1) We can't unconditionally use make functions or special variables
-##     starting with a dot, as those cause non-GNU implmentations to
+##     starting with a dot, as those cause non-GNU implementations to
 ##     crash hard.
 ##
 ## (2) We can't use $(MAKE_VERSION) here, as it is also defined in some
diff --git a/lib/am/lisp.am b/lib/am/lisp.am
index 6029ee343..11b5e5842 100644
--- a/lib/am/lisp.am
+++ b/lib/am/lisp.am
@@ -28,7 +28,7 @@ endif %?INSTALL%
 ## We prefer files from the build directory to those from the source
 ## directory, in true VPATH spirit.
 ## The destination file is normally determined by appending "c" to the
-## input (which would erronously put it in $(srcdir) in VPATH builds),
+## input (which would erroneously put it in $(srcdir) in VPATH builds),
 ## so we override that, too.
 	if test '$(EMACS)' != no; then \
 	  am__dir=. am__subdir_includes=''; \
diff --git a/t/cond24.sh b/t/cond24.sh
index 3868ae32e..f8f2a3077 100644
--- a/t/cond24.sh
+++ b/t/cond24.sh
@@ -26,7 +26,7 @@ EOF
 
 cat >Makefile.am <<EOF
 if COND
-## A dummy comment to change line numer.
+## A dummy comment to change line number.
 foo = baz
 endif
 EOF
diff --git a/t/cond36.sh b/t/cond36.sh
index 8cfb9d5f5..78d1e23a5 100644
--- a/t/cond36.sh
+++ b/t/cond36.sh
@@ -46,7 +46,7 @@ EOF
 
 $ACLOCAL
 
-# Presently Automake doesn't fully support partially overriden rules
+# Presently Automake doesn't fully support partially overridden rules
 # and should complain.
 AUTOMAKE_fails --add-missing
 grep 'tparse\.h.*already defined' stderr
diff --git a/t/dist-auxdir-many-subdirs.sh b/t/dist-auxdir-many-subdirs.sh
index cfbb223e8..fe53cccb5 100644
--- a/t/dist-auxdir-many-subdirs.sh
+++ b/t/dist-auxdir-many-subdirs.sh
@@ -100,7 +100,7 @@ END
   else
     for f in $required_files; do
       cp "$am_scriptdir"/$f $auxdir/$f \
-        || fatal_ "faild to fetch auxiliary script '$f'"
+        || fatal_ "failed to fetch auxiliary script '$f'"
       # See comments above.
       chmod a-w $auxdir/$f
     done
diff --git a/t/link_override.sh b/t/link_override.sh
index 81787af91..a4cd62438 100644
--- a/t/link_override.sh
+++ b/t/link_override.sh
@@ -43,7 +43,7 @@ grep '.\$(LINK).*foo' Makefile.in && exit 1
 grep '^ *bar_LINK *=.*bar_LDFLAGS' Makefile.in && exit 1
 grep '.\$(bar_LINK).*bar' Makefile.in
 
-# Silent make rules should use AM_V_GEN unless overriden.
+# Silent make rules should use AM_V_GEN unless overridden.
 grep '.\$(AM_V_GEN)\$(foo_LINK)' Makefile.in
 grep '.\$(AM_V_baz_LINK)\$(baz_LINK)' Makefile.in
 grep '.\$(AM_V_GEN)\$(baz_LINK)' Makefile.in && exit 1
diff --git a/t/parallel-tests-console-output.sh b/t/parallel-tests-console-output.sh
index 37d80b2b2..5464d8907 100644
--- a/t/parallel-tests-console-output.sh
+++ b/t/parallel-tests-console-output.sh
@@ -60,7 +60,7 @@ cat > xfail.test << 'END'
 #!/bin/sh
 # The sleep should ensure expected execution order of tests
 # even when make is run in parallel mode.
-# Creative quoting below to plase maintainer-check.
+# Creative quoting below to please maintainer-check.
 sleep '10'
 exit 1
 END
diff --git a/t/subobj11a.sh b/t/subobj11a.sh
index e9f980acb..f9c494d57 100644
--- a/t/subobj11a.sh
+++ b/t/subobj11a.sh
@@ -15,7 +15,7 @@
 # along with this program.  If not, see <https://www.gnu.org/licenses/>.
 
 # Test that automake works around a bug of Solaris Make. The bug is the
-# following.  If we have a Makefile containg a file inclusion like this:
+# following.  If we have a Makefile containing a file inclusion like this:
 #   include .//foo.mk
 # Solaris make fails with a message like:
 #   make: ... can't find '/foo.mk': No such file or directory
diff --git a/t/subobj11b.sh b/t/subobj11b.sh
index ee63680a8..d3500a9a6 100644
--- a/t/subobj11b.sh
+++ b/t/subobj11b.sh
@@ -15,7 +15,7 @@
 # along with this program.  If not, see <https://www.gnu.org/licenses/>.
 
 # Test that automake works around a bug of Solaris Make. The bug is the
-# following.  If we have a Makefile containg a file inclusion like this:
+# following.  If we have a Makefile containing a file inclusion like this:
 #   include .//foo.mk
 # Solaris make fails with a message like:
 #   make: ... can't find '/foo.mk': No such file or directory

Reply via email to