diff options
author | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2013-08-25 16:28:54 +0100 |
---|---|---|
committer | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2013-08-25 16:28:54 +0100 |
commit | fcfb9c26e444f643f44789618d1f1ebc25429ac4 (patch) | |
tree | 84138a5fecee784c6bbaa2e3a2204b019f2edc2c /dgit | |
parent | 69c5b89e545bb8276b1bb20f399b8df75607d868 (diff) |
dgit build uses dpkg-buildpackage
Diffstat (limited to 'dgit')
-rwxr-xr-x | dgit | 11 |
1 files changed, 10 insertions, 1 deletions
@@ -1063,7 +1063,16 @@ sub build_prep () { } sub cmd_build { - badusage "dgit build implies --clean=dpkg-source" if defined $package; + badusage "dgit build implies --clean=dpkg-source" + if $clean ne 'dpkg-source'; + build_prep(); + runcmd_ordryrun @dpkgbuildpackage, qw(-us -uc), changesopts(), @ARGV; + printdone "build successful\n"; +} + +sub cmd_git_build { + badusage "dgit git-build implies --clean=dpkg-source" + if $clean ne 'dpkg-source'; build_prep(); my @cmd = (qw(git-buildpackage -us -uc --git-no-sign-tags), |