summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Vogt <mvo@debian.org>2015-09-12 08:46:39 +0200
committerMichael Vogt <mvo@debian.org>2015-09-12 08:46:39 +0200
commit6850ae776d4f16b24048c4a64e21d60149b0a9fa (patch)
treedcfdc97894a32f23c8b4ff264b1c16df45b71759
parent138e0ff0f39db21178515ebad4750088c281fcb1 (diff)
Use xgettext --no-location in make update-pot
This avoid the large diff we have that is mostly caused by the line numbers changing in the po/pot files.
-rw-r--r--doc/po/apt-doc.pot2
-rw-r--r--po/makefile2
2 files changed, 3 insertions, 1 deletions
diff --git a/doc/po/apt-doc.pot b/doc/po/apt-doc.pot
index d9ea5f6ad..6c0d79246 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.0.9.8\n"
"Report-Msgid-Bugs-To: APT Development Team <deity@lists.debian.org>\n"
-"POT-Creation-Date: 2015-04-13 07:23+0200\n"
+"POT-Creation-Date: 2015-09-12 08:43+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 b239da5cc..51472196e 100644
--- a/po/makefile
+++ b/po/makefile
@@ -40,6 +40,8 @@ $(POTFILES) : $(PO)/%.pot :
cat $(PO)/domains/$*/*.srclist > $(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
cmp --silent $(PO)/domains/$*/c.pot.tmp $(PO)/domains/$*/c.pot || \