Mercurial > gemma
changeset 1400:7ba1de867c8d
client: fix Makefile for translations
* Fix location of translations.json in Makefile, which was forgotten
when reorganising the directory.
author | Fadi Abbud <fadi.abbud@intevation.de> |
---|---|
date | Wed, 28 Nov 2018 15:56:38 +0100 |
parents | 8e2c9e518440 |
children | 178f5beeab03 |
files | client/Makefile |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/client/Makefile Wed Nov 28 15:45:56 2018 +0100 +++ b/client/Makefile Wed Nov 28 15:56:38 2018 +0100 @@ -35,11 +35,11 @@ @echo choose a target from: clean makemessages translations clean: - rm -f /tmp/template.pot $(OUTPUT_DIR)/translations.json + rm -f /tmp/template.pot $(OUTPUT_DIR)/locale/translations.json makemessages: /tmp/template.pot -translations: ./$(OUTPUT_DIR)/translations.json +translations: ./$(OUTPUT_DIR)/locale/translations.json # Create a main .pot template, then generate .po files for each available language. # Thanx to Systematic: https://github.com/Polyconseil/systematic/blob/866d5a/mk/main.mk#L167-L183 @@ -66,6 +66,6 @@ msgattrib --no-wrap --no-obsolete -o $$PO_FILE $$PO_FILE; \ done; -$(OUTPUT_DIR)/translations.json: clean /tmp/template.pot +$(OUTPUT_DIR)/locale/translations.json: clean /tmp/template.pot mkdir -p $(OUTPUT_DIR) gettext-compile --output $@ $(LOCALE_FILES)