Pass "-d" to debuild when run as cleaner.
authorGuido Günther <agx@sigxcpu.org>
Thu, 26 Feb 2009 08:04:39 +0000 (09:04 +0100)
committerGuido Günther <agx@sigxcpu.org>
Thu, 26 Feb 2009 12:48:28 +0000 (13:48 +0100)
This way build-deps don't have to be fulfilled in the source tree but
only in the build tree.

Closes: #516876

gbp/config.py

index 0cff357..2789e2a 100644 (file)
@@ -26,7 +26,7 @@ class GbpOptionParser(OptionParser):
     @type config_files: list
     """
     defaults = { 'builder'         : 'debuild -i\.git/ -I.git',
-                 'cleaner'         : 'debuild clean',
+                 'cleaner'         : 'debuild -d clean',
                  'debian-branch'   : 'master',
                  'upstream-branch' : 'upstream',
                  'pristine-tar'    : 'False',