From 6850ae776d4f16b24048c4a64e21d60149b0a9fa Mon Sep 17 00:00:00 2001 From: Michael Vogt Date: Sat, 12 Sep 2015 08:46:39 +0200 Subject: 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. --- po/makefile | 2 ++ 1 file changed, 2 insertions(+) (limited to 'po') 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 || \ -- cgit v1.2.3