+}
+
+sub cmd_build {
+ 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();