# HG changeset patch # User Fadi Abbud # Date 1543416998 -3600 # Node ID 7ba1de867c8dd33888e62ac33f57f63ef8d732d0 # Parent 8e2c9e518440b8d911ab6c1ebdbe3da86c0cf9fc client: fix Makefile for translations * Fix location of translations.json in Makefile, which was forgotten when reorganising the directory. diff -r 8e2c9e518440 -r 7ba1de867c8d client/Makefile --- 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)