]> git.donarmstrong.com Git - debhelper.git/commitdiff
Merge commit 'origin/buildsystems' into python-build
authorBernd Zeimetz <bernd@bzed.de>
Sun, 19 Jul 2009 13:50:19 +0000 (15:50 +0200)
committerBernd Zeimetz <bernd@bzed.de>
Sun, 19 Jul 2009 13:50:19 +0000 (15:50 +0200)
Conflicts:
Debian/Debhelper/Buildsystem/python_distutils.pm

Debian/Debhelper/Buildsystem/python_distutils.pm

index 69032d21c17e542d1b8245e72469687ea4a54050..e1b1aef0ac94842622d6455e9596572c66635106 100644 (file)
@@ -131,10 +131,12 @@ sub setup_py {
                        $this->doit_in_sourcedir($python, "setup.py", $act, @_);
                }
                $python = $python . "-dbg";
-               if ((grep /^(python-all-dbg|\Q$python\E)/, @dbg_build_needed)
-                   or (($python eq "python-dbg") and
-                       (grep /^$python_default/, @dbg_build_needed))) {
+               if (grep /^(python-all-dbg|\Q$python\E)/, @dbg_build_needed) {
                        $this->doit_in_sourcedir($python, "setup.py", $act, @_);
+               } elsif (($python eq "python-dbg")
+                       and (grep /^$python_default/, @dbg_build_needed)) {
+                       $this->doit_in_sourcedir($python_default."-dbg",
+                               "setup.py", $act, @_);
                }
        }
 }