summaryrefslogtreecommitdiff
path: root/scripts/dev/build_release.py
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/dev/build_release.py')
-rwxr-xr-xscripts/dev/build_release.py12
1 files changed, 10 insertions, 2 deletions
diff --git a/scripts/dev/build_release.py b/scripts/dev/build_release.py
index 2038a7f67..d16e24866 100755
--- a/scripts/dev/build_release.py
+++ b/scripts/dev/build_release.py
@@ -518,9 +518,17 @@ def build_sdist() -> List[Artifact]:
def test_makefile() -> None:
"""Make sure the Makefile works correctly."""
utils.print_title("Testing makefile")
+ a2x_path = pathlib.Path(sys.executable).parent / 'a2x'
+ assert a2x_path.exists(), a2x_path
with tempfile.TemporaryDirectory() as tmpdir:
- subprocess.run(['make', '-f', 'misc/Makefile',
- f'DESTDIR={tmpdir}', 'install'], check=True)
+ subprocess.run(
+ [
+ 'make', '-f', 'misc/Makefile',
+ f'DESTDIR={tmpdir}', f'A2X={a2x_path}',
+ 'install'
+ ],
+ check=True,
+ )
def read_github_token(