summaryrefslogtreecommitdiffstats
path: root/common/entities/Makefile
blob: fb23056623fe2794e71f3011e273aa1ce3b8145a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
PRI_LANG=en

all:	entities-it.ent

entities-it.ent: entities-it.xml entities.xsl
	xsltproc -o $@ entities.xsl entities-it.xml

entities-it.xml: entities-${PRI_LANG}.xml it.po
	xml2po -p it.po entities-${PRI_LANG}.xml >$@

it.po:	it.pot
	if [ ! -f $@ ]; then						\
		cp $< $@;						\
	else								\
		msgmerge -o $@ --backup=simple $@ $<;			\
	fi

it.pot:	entities-${PRI_LANG}.xml
	xml2po -o $@ $<