diff options
author | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2018-09-29 01:28:16 +0100 |
---|---|---|
committer | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2018-09-29 12:41:03 +0100 |
commit | 4e31e13244be1694c3725a8e463ad0494635ef30 (patch) | |
tree | 37b0aebadeea7014d038fede3ff3dcf3ae58d16d /po/part.make | |
parent | b30764495d682a756d2b3bd13935c3be46a0d339 (diff) |
i18n: Machinery in po/
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Diffstat (limited to 'po/part.make')
-rw-r--r-- | po/part.make | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/po/part.make b/po/part.make new file mode 100644 index 0000000..551c454 --- /dev/null +++ b/po/part.make @@ -0,0 +1,16 @@ +PARTS += ~ +POTS += .~.pot + +mo/~.pot: .~.pot .common.pot + $S mkdir -p mo + $S msgcat $^ $o + +mo/~_%.po: %.po mo/~.pot + $S cp $*.po $@.tmp + $S msgmerge --quiet --previous $@.tmp mo/~.pot -o $@.tmp + $S $f + +.PRECIOUS: mo/~.pot mo/~_%.po + +# (end of part.make) +# dependencies of .~.pot will follow (from sed) |