From 0819e7f359be303a69f9a4322176a9312aede7b0 Mon Sep 17 00:00:00 2001 From: Michael Vogt Date: Sat, 12 Sep 2015 11:06:34 +0200 Subject: Sort pot input files Git-Dch: ignore --- po/makefile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'po') diff --git a/po/makefile b/po/makefile index 51472196e..c654cb033 100644 --- a/po/makefile +++ b/po/makefile @@ -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 -- cgit v1.2.3