aboutsummaryrefslogtreecommitdiffstats
path: root/english/international
diff options
context:
space:
mode:
authorHolger Wansing <hwansing@mailbox.org>2024-01-01 23:27:51 +0100
committerHolger Wansing <holgerw@debian.org>2024-01-02 15:59:18 +0000
commit2fe0ede433d7d3cafe0ec1a9829f240144acb55b (patch)
treea08e646053c43913767239fc20936ee347a7f42f /english/international
parenta51f40e85e0373567588d4353a0440107796d051 (diff)
Some documentation about gen-files.sh calls
Diffstat (limited to 'english/international')
-rw-r--r--english/international/l10n/po-debconf/Makefile1
-rw-r--r--english/international/l10n/po/Makefile1
-rw-r--r--english/international/l10n/po4a/Makefile1
3 files changed, 3 insertions, 0 deletions
diff --git a/english/international/l10n/po-debconf/Makefile b/english/international/l10n/po-debconf/Makefile
index 39a8a88ef28..459d62f9036 100644
--- a/english/international/l10n/po-debconf/Makefile
+++ b/english/international/l10n/po-debconf/Makefile
@@ -49,6 +49,7 @@ $(HTML_PODEBCNOT): tmpl.$(LANGUAGE).tmpl $(ENGLISHDIR)/$(CUR_DIR)/gen/main.orig
$(ENGLISHDIR)/$(CUR_DIR)/gen/main.orig $(ENGLISHDIR)/$(CUR_DIR)/gen/rank.inc $(L10N_DIR)/date.gen $(L10N_DIR)/data/langs: $(L10N_DIR)/scripts/gen-files.pl $(L10N_DIR)/data/$(DIST)
-rm -rf $(ENGLISHDIR)/$(CUR_DIR)/../*/gen
$(L10N_DIR)/scripts/isoquery.pl
+# This gen-files.sh call is effectively not in function. See ../po/Makefile
perl $(L10N_DIR)/scripts/gen-files.pl --sort=$(SORT_PKGS) --dist=$(DIST) --l10ndir=$(L10N_DIR) --langs --po --podebconf --po4a
clean::
diff --git a/english/international/l10n/po/Makefile b/english/international/l10n/po/Makefile
index 05ed69d066f..db6d0da4600 100644
--- a/english/international/l10n/po/Makefile
+++ b/english/international/l10n/po/Makefile
@@ -43,6 +43,7 @@ endif
$(ENGLISHDIR)/$(CUR_DIR)/gen/main.exc $(ENGLISHDIR)/$(CUR_DIR)/gen/rank.inc $(L10N_DIR)/date.gen $(L10N_DIR)/data/langs: $(L10N_DIR)/scripts/gen-files.pl $(L10N_DIR)/data/$(DIST)
-rm -rf $(ENGLISHDIR)/$(CUR_DIR)/../*/gen
$(L10N_DIR)/scripts/isoquery.pl
+# This is effectively the only place, where gen-files.pl is executed. The other ones in ../podebconf and ../po4a are not called.
perl $(L10N_DIR)/scripts/gen-files.pl --sort=$(SORT_PKGS) --dist=$(DIST) --l10ndir=$(L10N_DIR) --langs --po --podebconf --po4a
# In the following we strip out wrong or unwanted language entries (to be defined in strip-langs.sh):
$(L10N_DIR)/scripts/strip-langs.sh
diff --git a/english/international/l10n/po4a/Makefile b/english/international/l10n/po4a/Makefile
index 517c7c854c9..1062d14ec4b 100644
--- a/english/international/l10n/po4a/Makefile
+++ b/english/international/l10n/po4a/Makefile
@@ -36,6 +36,7 @@ $(HTML_PO4A): tmpl.$(LANGUAGE).tmpl $(ENGLISHDIR)/$(CUR_DIR)/gen/main.exc
$(ENGLISHDIR)/$(CUR_DIR)/gen/main.exc $(ENGLISHDIR)/$(CUR_DIR)/gen/rank.inc $(L10N_DIR)/date.gen $(L10N_DIR)/data/langs: $(L10N_DIR)/scripts/gen-files.pl $(L10N_DIR)/data/$(DIST)
-rm -rf $(ENGLISHDIR)/$(CUR_DIR)/../*/gen
$(L10N_DIR)/scripts/isoquery.pl
+# This gen-files.sh call is effectively not in function. See ../po/Makefile
perl $(L10N_DIR)/scripts/gen-files.pl --sort=$(SORT_PKGS) --dist=$(DIST) --l10ndir=$(L10N_DIR) --langs --po --podebconf --po4a
clean::

© 2014-2024 Faster IT GmbH | imprint | privacy policy