Makefile: fix l10n rule

This commit is contained in:
Antoine Vandevenne (anv) 2021-04-27 15:10:00 +02:00
parent 3b8b9bfc8a
commit 118a2e6918

View File

@ -54,13 +54,12 @@ latexpdf:
cp $(BUILD_DIR)/latex/*.pdf $(BUILD_DIR)/html/
@echo "Build finished."
# TODO ANVFE update sphinx-intl command to take args
l10n:
@echo "Generating translatable files..."
$(SPHINX_BUILD) -c $(CONFIG_DIR) -b gettext $(SOURCE_DIR) $(BUILD_DIR)/gettext
@echo "Generation finished."
@echo "Localizing translation strings..."
sphinx-intl update -p $(BUILD_DIR)/gettext -l es_AR -l pt_BR
sphinx-intl update -p $(BUILD_DIR)/gettext -l $(L10N_LANGUAGES)
@echo "Localization finished."
extensions/odoo_theme/static/style.css: extensions/odoo_theme/static/style.scss extensions/odoo_theme/static/scss/*.scss