]> git.donarmstrong.com Git - debhelper.git/commitdiff
debhelper: Fix minor source comment typos.
authorSimon Ruderich <simon@ruderich.org>
Sat, 19 May 2012 11:45:56 +0000 (13:45 +0200)
committerJoey Hess <joey@kitenet.net>
Sat, 19 May 2012 15:26:26 +0000 (11:26 -0400)
Debian/Debhelper/Buildsystem/makefile.pm
Debian/Debhelper/Buildsystem/python_distutils.pm
dh
dh_compress
dh_fixperms
dh_installmime
dh_makeshlibs
dh_movefiles
dh_strip

index 1eb4b5b50b14eaf81bbb7de4e4065c2fc2b56425..c63b58eda934c6017ec2d0689e71f89983c78073 100644 (file)
@@ -74,7 +74,7 @@ sub check_auto_buildable {
            -e $this->get_buildpath("GNUmakefile"))
        {
                # This is always called in the source directory, but generally
-               # Makefiles are created (or live) in the the build directory.
+               # Makefiles are created (or live) in the build directory.
                return 1;
        } elsif ($step eq "clean" && defined $this->get_builddir() &&
                 $this->check_auto_buildable("configure"))
index 5115a8aea5854c111ecf4b8013c6fded2d7c19dc..ad473a3916085aa6ad69ec44f8b8a42609e2a2ed 100644 (file)
@@ -24,7 +24,7 @@ sub DEFAULT_BUILD_DIRECTORY {
 sub new {
        my $class=shift;
        my $this=$class->SUPER::new(@_);
-       # Out of source tree building is prefered.
+       # Out of source tree building is preferred.
        $this->prefer_out_of_source_building(@_);
        return $this;
 }
diff --git a/dh b/dh
index 4d4e31eb898327289647df23ae5741be1a24b779..3e6ccf426a28256dfcc4359677ee572eec7653c8 100755 (executable)
--- a/dh
+++ b/dh
@@ -331,7 +331,7 @@ if (! defined $sequence) {
        error "specify a sequence to run";
 }
 # make -B causes the rules file to be run as a target.
-# Also support completly empty override targets.
+# Also support completely empty override targets.
 # Note: it's not safe to use rules_explicit_target before this check,
 # since it causes dh to be run.
 my $dummy_target="debhelper-fail-me";
@@ -819,7 +819,7 @@ sub rules_explicit_target {
                                }
                                else {
                                        if (!$not_a_target && /^([^#:]+)::?\s*(.*)$/) {
-                                               # Target is defined. NOTE: if it is a depenency of
+                                               # Target is defined. NOTE: if it is a dependency of
                                                # .PHONY it will be defined too but that's ok.
                                                # $2 contains target dependencies if any.
                                                $current_target = $1;
index ff98cb9de6d9c99785b8f41229708f7485fdb259..85cf2c8943b84e1950d58e00565bdf0e0736eb43 100755 (executable)
@@ -99,7 +99,7 @@ foreach my $package (@{$dh{DOPACKAGES}}) {
        }
        else {
                # Note that all the excludes of odd things like _z 
-               # are because gzip refuses to compress such files, assumming
+               # are because gzip refuses to compress such files, assuming
                # they are zip files. I looked at the gzip source to get the
                # complete list of such extensions: ".gz", ".z", ".taz", 
                # ".tgz", "-gz", "-z", "_z"
index d6e237bc93a270501fa95ac5770cdcb0d403b286..a99a1345410493e79aba008f65ce27008663e48b 100755 (executable)
@@ -58,7 +58,7 @@ foreach my $package (@{$dh{DOPACKAGES}}) {
        complex_doit("find $tmp ! -type l $find_options -print0",
                "2>/dev/null | xargs -0r chmod go=rX,u+rw,a-s");
        
-       # Fix up premissions in usr/share/doc, setting everything to not
+       # Fix up permissions in usr/share/doc, setting everything to not
        # executable by default, but leave examples directories alone.
        complex_doit("find $tmp/usr/share/doc -type f $find_options ! -regex '$tmp/usr/share/doc/[^/]*/examples/.*' -print0 2>/dev/null",
                "| xargs -0r chmod 644");
index 0ac46c755209368be8a475c6614c191f0e3e42eb..998d6bad33d6c7f99a713b1cb003fa42143f923d 100755 (executable)
@@ -68,7 +68,7 @@ foreach my $package (@{$dh{DOPACKAGES}}) {
                }
                doit("install","-p","-m644",$mime,"$tmp/usr/lib/mime/packages/$package");
        }
-       # Check wether we have to call update-mime (either upstream already
+       # Check whether we have to call update-mime (either upstream already
        # installs a MIME information file or Debian provides one)
        if ((! $dh{NOSCRIPTS}) && (-d "$tmp/usr/lib/mime/packages")) {
                autoscript($package,"postinst","postinst-mime");
@@ -83,7 +83,7 @@ foreach my $package (@{$dh{DOPACKAGES}}) {
                }
                doit("install", "-p", "-m644", $sharedmimeinfo, "$tmp/usr/share/mime/packages/$package.xml");
        }
-       # check wether we have to call update-mime-database (either upstream
+       # check whether we have to call update-mime-database (either upstream
        # already installs a shared MIME information file or Debian provides
        # one)
        if ((! $dh{NOSCRIPTS}) && (-d "$tmp/usr/share/mime/packages")) {
index 860637a01de028ac3e521b545ba39aa3d129d8de..66e8b961d2d4658a176c6b097ed606f043a8d8b7 100755 (executable)
@@ -142,7 +142,7 @@ foreach my $package (@{$dh{DOPACKAGES}}) {
 
        # So, we look for files or links to existing files with names that
        # match "*.so.*". And we only look at real files not
-       # symlinks, so we don't accidentually add shlibs data to -dev
+       # symlinks, so we don't accidentally add shlibs data to -dev
        # packages. This may have a few false positives, which is ok,
        # because only if we can get a library name and a major number from
        # objdump is anything actually added.
@@ -183,7 +183,7 @@ foreach my $package (@{$dh{DOPACKAGES}}) {
                                $deps=$dh{V_FLAG};
                        }       
                        else {
-                               # Call isnative becuase it sets $dh{VERSION}
+                               # Call isnative because it sets $dh{VERSION}
                                # as a side effect.
                                isnative($package);
                                my $version = $dh{VERSION};
index 3f59d9e5dfddbc5929e2dfc8dea80fca22867186..e9439bded17c2241eb06b2542621f417c79fc2d9 100755 (executable)
@@ -112,7 +112,7 @@ foreach my $package (@{$dh{DOPACKAGES}}) {
 
        # Now we need to expand wildcards in @tomove.
        # This is only necessary in pre-v3 land -- as of v3, the
-       # expension is automatically done by filearray().
+       # expansion is automatically done by filearray().
        if (@tomove && compat(2)) {
                my @filelist=();
                foreach (@tomove) {
@@ -158,12 +158,12 @@ foreach my $package (@{$dh{DOPACKAGES}}) {
        }
 }
 
-# If $ret is set, we wern't actually able to find some 
+# If $ret is set, we weren't actually able to find some
 # files that were specified to be moved, and we should
 # exit with the code in $ret. This program puts off 
 # exiting with an error until all files have been tried
 # to be moved, because this makes it easier for some 
-# packages that arn't always sure exactly which files need
+# packages that aren't always sure exactly which files need
 # to be moved.
 exit $ret;
 
index 57c45f5c7e5a9786091da07ea450381219c4975a..ea5315a3b12999cd1b63d956f62ffa1b9ca6a9ca 100755 (executable)
--- a/dh_strip
+++ b/dh_strip
@@ -221,7 +221,7 @@ foreach my $package (@{$dh{DOPACKAGES}}) {
        foreach (@shared_libs) {
                my $debug_path = make_debug($_, $tmp, $debugtmp) if $keep_debug;
                # Note that all calls to strip on shared libs
-               # *must* inclde the --strip-unneeded.
+               # *must* include the --strip-unneeded.
                doit($strip,"--remove-section=.comment",
                        "--remove-section=.note","--strip-unneeded",$_);
                attach_debug($_, $debug_path) if defined $debug_path;