blob: 42ebb3083a2feda4b3f7bad5d9fa2774a528a737 (
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
25
|
DOMAIN = iso_3166_2
VERSION = @PACKAGE_VERSION@
xmldir = $(datadir)/xml/iso-codes
xml_DATA = $(DOMAIN).xml
pofiles = $(wildcard $(srcdir)/*.po)
mofiles = $(patsubst $(srcdir)/%.po,%.mo, $(pofiles))
noinst_DATA = $(mofiles) $(xml_DATA:.xml=.pot)
iso_3166_2.pot: iso_3166_2.xml
../iso2pot.py --is-version ${VERSION} --comment code \
--fields name --outfile $@ $<
EXTRA_DIST = \
$(pofiles) \
$(xml_DATA) \
iso_3166_2.pot
MOSTLYCLEANFILES = \
$(mofiles)
check-local: check-content
include $(top_srcdir)/rules.make
|