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

all:	entities-it.ent

clean:

distclean clobber: clean
	${RM} *.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 --update --backup=simple $@ $<;		\
	fi

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