add PHONY
This commit is contained in:
1 parent
9ddfab8fbd
commit
c3d031db13
1 file changed
+1
@@ -42,6 +42,7 @@ $(TEMPLATE_FILE):
|
|||||||
node ./node_modules/easygettext/src/extract-cli.js --attribute v-translate --output $(OUTPUT_DIR)/template.pot $$GETTEXT_SOURCES;
|
node ./node_modules/easygettext/src/extract-cli.js --attribute v-translate --output $(OUTPUT_DIR)/template.pot $$GETTEXT_SOURCES;
|
||||||
|
|
||||||
# Generate translations.json file from .pot template.
|
# Generate translations.json file from .pot template.
|
||||||
|
.PHONY: $(OUTPUT_DIR)/translations.json
|
||||||
$(OUTPUT_DIR)/translations.json:
|
$(OUTPUT_DIR)/translations.json:
|
||||||
rm -rf $(OUTPUT_DIR)/translations.json
|
rm -rf $(OUTPUT_DIR)/translations.json
|
||||||
gettext-compile --output $(OUTPUT_DIR)/translations.json $(LOCALE_FILES);
|
gettext-compile --output $(OUTPUT_DIR)/translations.json $(LOCALE_FILES);
|
||||||
|
|||||||
Reference in new issue
Block a user