]> git.saurik.com Git - apt.git/commitdiff
Sort pot input files
authorMichael Vogt <mvo@debian.org>
Sat, 12 Sep 2015 09:06:34 +0000 (11:06 +0200)
committerMichael Vogt <mvo@debian.org>
Sat, 12 Sep 2015 09:06:34 +0000 (11:06 +0200)
Git-Dch: ignore

doc/po/apt-doc.pot
po/makefile

index 334956eeb321265f7be080bd37a1c73e9bfe7159..e477ea9e99a0c30bc1f49089ec7ac5366b479fb3 100644 (file)
@@ -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"
index 51472196e65cf30ac4078f31c0f12bd8ae266283..c654cb03305021ad613b019995cfc60a384da042 100644 (file)
@@ -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