summaryrefslogtreecommitdiff
path: root/iso_639_3/Makefile.am
blob: 61539850f7eb4e5a5f6cad464de2cf7ff8a1eb20 (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_639_3
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_639_3.pot: iso_639_3.xml
	../iso2pot.py --is-version ${VERSION} --comment id \
		--fields name,inverted_name,reference_name,common_name --outfile $@ $< 

EXTRA_DIST = \
	$(pofiles)	\
	$(xml_DATA)	\
	iso_639_3.pot

MOSTLYCLEANFILES = \
	$(mofiles)

check-local: check-content

include $(top_srcdir)/rules.make