From: Jakob Cornell Date: Sun, 25 Sep 2022 17:57:18 +0000 (-0500) Subject: Minor tweaks to build helper X-Git-Tag: strikebot-0.0.7~24 X-Git-Url: https://jcornell.net/gitweb/gitweb.cgi?a=commitdiff_plain;h=a35fc3ad578892937de2b67ad800d9b5692eeecb;p=counting.git Minor tweaks to build helper --- diff --git a/build_helper.py b/build_helper.py index c669c83..c6c6ec9 100644 --- a/build_helper.py +++ b/build_helper.py @@ -18,6 +18,7 @@ def _is_output(path: Path) -> bool: ".deb", ".debian.tar.xz", ".dsc", + ".orig.tar.xz", ] ) @@ -45,10 +46,10 @@ if args.cmd == "build": p.unlink() # regenerate the "orig" tarball from the current source - run(["dh_make", "-y", "--indep", "--createorig", "-p", "strikebot_" + version], cwd = upstream_root) + run(["dh_make", "--python", "--createorig", "-p", "strikebot_" + version], cwd = upstream_root) - # build the package - run(["debuild"], cwd = upstream_root, check = True) + # build the source package + run(["debuild", "-i", "-us", "-uc", "-S"], cwd = upstream_root, check = True) # move outputs to build directory for p in project_root.iterdir():