summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Vogt <mvo@debian.org>2015-09-12 11:06:34 +0200
committerMichael Vogt <mvo@debian.org>2015-09-12 11:06:34 +0200
commit0819e7f359be303a69f9a4322176a9312aede7b0 (patch)
tree2ce4ca9f609a1806718e1ea647bfe4a64a9b412c
parent768a949cbc9be843483aeb87b42d1a9226661909 (diff)
Sort pot input files
Git-Dch: ignore
-rw-r--r--doc/po/apt-doc.pot2
-rw-r--r--po/makefile3
2 files changed, 2 insertions, 3 deletions
diff --git a/doc/po/apt-doc.pot b/doc/po/apt-doc.pot
index 334956eeb..e477ea9e9 100644
--- a/doc/po/apt-doc.pot
+++ b/doc/po/apt-doc.pot
@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: apt-doc 1.1~exp12\n"
"Report-Msgid-Bugs-To: APT Development Team <deity@lists.debian.org>\n"
-"POT-Creation-Date: 2015-09-11 23:36+0200\n"
+"POT-Creation-Date: 2015-09-12 11:06+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
diff --git a/po/makefile b/po/makefile
index 51472196e..c654cb033 100644
--- a/po/makefile
+++ b/po/makefile
@@ -37,10 +37,9 @@ $(POTFILES) : $(PO)/%.pot :
cmp --silent $(PO)/domains/$*/sh.pot.tmp $(PO)/domains/$*/sh.pot || \
mv $(PO)/domains/$*/sh.pot.tmp $(PO)/domains/$*/sh.pot
# From C/C++ source
- cat $(PO)/domains/$*/*.srclist > $(PO)/POTFILES_$*.in
+ cat $(PO)/domains/$*/*.srclist | sort > $(PO)/POTFILES_$*.in
$(XGETTEXT) --default-domain=$* --directory=$(BASE) \
--add-comments --foreign --keyword=_ --keyword=N_ \
- # avoid the huge churn on each make update-pot
--no-location \
--keyword=P_:1,2 \
--files-from=$(PO)/POTFILES_$*.in -o $(PO)/domains/$*/c.pot.tmp