summaryrefslogtreecommitdiff
path: root/po/makefile
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 /po/makefile
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.
Diffstat (limited to 'po/makefile')
-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 || \