Pārlūkot izejas kodu

Remove src/i18n/converse.pot as a target

This causes the pot and po files to be regenerated unnecessarily.

It also causes `npm run nodeps` to be called before `npm run headless`,
resulting in errors in a clean checkout.

Fixes #3581
JC Brand 1 mēnesi atpakaļ
vecāks
revīzija
c43075f02c
2 mainītis faili ar 3 papildinājumiem un 4 dzēšanām
  1. 1 0
      CHANGES.md
  2. 2 4
      Makefile

+ 1 - 0
CHANGES.md

@@ -2,6 +2,7 @@
 
 ## 12.0.0 (Unreleased)
 
+- #3581: src/i18n/converse.pot changes after make dist making git archive dirty
 - #3700: Fix exception that occurs when optional cp attribute is missing
 - #3730 QR Code is not valid
 - Add approval banner in chats with requesting contacts or unsaved contacts

+ 2 - 4
Makefile

@@ -67,14 +67,12 @@ certs:
 
 GETTEXT = $(XGETTEXT) --from-code=UTF-8 --language=JavaScript --keyword=__ --keyword=___ --keyword=i18n_ --force-po --output=src/i18n/converse.pot --package-name=Converse.js --copyright-holder="Jan-Carel Brand" --package-version=11.0.1 dist/converse-no-dependencies.js -c
 
-src/i18n/converse.pot: dist/converse-no-dependencies.js
+.PHONY: pot
+pot: dist/converse-no-dependencies.js
 	$(GETTEXT) 2>&1 > /dev/null; exit $$?;
 	rm dist/converse-no-dependencies.js
 	rm dist/tmp.css
 
-.PHONY: pot
-pot: src/i18n/converse.pot
-
 .PHONY: po
 po:
 	find ./src/i18n/locales -maxdepth 1 -mindepth 1 -type d -exec msgmerge {}/LC_MESSAGES/converse.po ./src/i18n/converse.pot -U \;