# HG changeset patch # User Augie Fackler # Date 2020-09-01 15:03:47 # Node ID be6544a05e8faee26eeb2ebd4df18748b4aa950c # Parent 867385f45559f4561806c2bee29240f98a4ced86 make: add a pyoxidizer target Differential Revision: https://phab.mercurial-scm.org/D9291 diff --git a/Makefile b/Makefile --- a/Makefile +++ b/Makefile @@ -15,6 +15,8 @@ else PYTHON?=python3 endif +PYOXIDIZER?=pyoxidizer + $(eval HGROOT := $(shell pwd)) HGPYTHONS ?= $(HGROOT)/build/pythons PURE= @@ -259,9 +261,12 @@ osx: --resources contrib/packaging/macosx/ \ "$${OUTPUTDIR:-dist/}"/Mercurial-"$${HGVER}"-macosx"$${OSXVER}".pkg +pyoxidizer: + $(PYOXIDIZER) build --path ./rust/hgcli --release + .PHONY: help all local build doc cleanbutpackages clean install install-bin \ install-doc install-home install-home-bin install-home-doc \ dist dist-notests check tests rust-tests check-code format-c \ - update-pot \ + update-pot pyoxidizer \ $(packaging_targets) \ osx