summaryrefslogtreecommitdiff
path: root/po
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 10:22:50 +0200
commit768a949cbc9be843483aeb87b42d1a9226661909 (patch)
tree9d8ac7a5efd411408a12045fd966b12e5c94ef65 /po
parente49dd9d3e7bb3553104c8c96a0e254e66319155f (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.
Diffstat (limited to 'po')
-rw-r--r--po/makefile2
1 files changed, 2 insertions, 0 deletions
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 || \