From 649fe44b7f3746c930f9ea30a3240d96d4b056bf Mon Sep 17 00:00:00 2001 From: Christophe Monniez Date: Wed, 10 Dec 2025 09:13:36 +0000 Subject: [PATCH] [IMP] Makefile: allow to choose the export path X-original-commit: cb75529d9a43dd26c05d2453c4a1cf283ebac496 --- Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 46e7bd493..a299b2e12 100644 --- a/Makefile +++ b/Makefile @@ -13,6 +13,10 @@ ifndef CURRENT_LANG CURRENT_LANG = en endif +ifndef EXPORT_PATH + EXPORT_PATH = locale/sources +endif + SPHINX_BUILD = sphinx-build CONFIG_DIR = . SPHINXOPTS = -D project_root=$(ROOT) -D canonical_version=$(CANONICAL_VERSION) \ @@ -69,7 +73,7 @@ latexpdf: gettext: @echo "Generating translatable files..." - $(SPHINX_BUILD) -c $(CONFIG_DIR) -b gettext $(SOURCE_DIR) locale/sources + $(SPHINX_BUILD) -c $(CONFIG_DIR) -b gettext $(SOURCE_DIR) $(EXPORT_PATH) @echo "Generation finished." $(HTML_BUILD_DIR)/_static/style.css: extensions/odoo_theme/static/style.scss extensions/odoo_theme/static/scss/*.scss