summaryrefslogtreecommitdiff
path: root/po/part.make
blob: 551c45411a175095ceb642020b52f1deff35557e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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)