Mercurial > hg
comparison Makefile @ 45833:be6544a05e8f
make: add a pyoxidizer target
Differential Revision: https://phab.mercurial-scm.org/D9291
author | Augie Fackler <augie@google.com> |
---|---|
date | Tue, 01 Sep 2020 11:03:47 -0400 |
parents | c2837640aeb0 |
children | f38d592f871a |
comparison
equal
deleted
inserted
replaced
45832:867385f45559 | 45833:be6544a05e8f |
---|---|
12 ifeq ($(OS),Windows_NT) | 12 ifeq ($(OS),Windows_NT) |
13 PYTHON?=python | 13 PYTHON?=python |
14 else | 14 else |
15 PYTHON?=python3 | 15 PYTHON?=python3 |
16 endif | 16 endif |
17 | |
18 PYOXIDIZER?=pyoxidizer | |
17 | 19 |
18 $(eval HGROOT := $(shell pwd)) | 20 $(eval HGROOT := $(shell pwd)) |
19 HGPYTHONS ?= $(HGROOT)/build/pythons | 21 HGPYTHONS ?= $(HGROOT)/build/pythons |
20 PURE= | 22 PURE= |
21 PYFILESCMD=find mercurial hgext doc -name '*.py' | 23 PYFILESCMD=find mercurial hgext doc -name '*.py' |
257 --package-path build/ \ | 259 --package-path build/ \ |
258 --version "$${HGVER}" \ | 260 --version "$${HGVER}" \ |
259 --resources contrib/packaging/macosx/ \ | 261 --resources contrib/packaging/macosx/ \ |
260 "$${OUTPUTDIR:-dist/}"/Mercurial-"$${HGVER}"-macosx"$${OSXVER}".pkg | 262 "$${OUTPUTDIR:-dist/}"/Mercurial-"$${HGVER}"-macosx"$${OSXVER}".pkg |
261 | 263 |
264 pyoxidizer: | |
265 $(PYOXIDIZER) build --path ./rust/hgcli --release | |
266 | |
262 .PHONY: help all local build doc cleanbutpackages clean install install-bin \ | 267 .PHONY: help all local build doc cleanbutpackages clean install install-bin \ |
263 install-doc install-home install-home-bin install-home-doc \ | 268 install-doc install-home install-home-bin install-home-doc \ |
264 dist dist-notests check tests rust-tests check-code format-c \ | 269 dist dist-notests check tests rust-tests check-code format-c \ |
265 update-pot \ | 270 update-pot pyoxidizer \ |
266 $(packaging_targets) \ | 271 $(packaging_targets) \ |
267 osx | 272 osx |