--- a/Makefile Wed Aug 18 01:07:38 2021 +0200
+++ b/Makefile Wed Aug 18 01:10:40 2021 +0200
@@ -270,9 +270,15 @@
pyoxidizer:
$(PYOXIDIZER) build --path ./rust/hgcli --release
+
+PYOX_DIR=build/pyoxidizer/x86_64-pc-windows-msvc/release/app
+
# a temporary target to setup all we need for run-tests.py --pyoxidizer
# (should go away as the run-tests implementation improves
pyoxidizer-windows-tests: pyoxidizer
+ rm -rf $(PYOX_DIR)/templates
+ cp -ar $(PYOX_DIR)/lib/mercurial/templates $(PYOX_DIR)/templates
+
.PHONY: help all local build doc cleanbutpackages clean install install-bin \
install-doc install-home install-home-bin install-home-doc \