CSCOPE = cscope
DIST_SUBDIRS = $(SUBDIRS)
am__DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/iso-codes.pc.in \
- ChangeLog INSTALL README TODO install-sh missing
+ COPYING ChangeLog INSTALL TODO install-sh missing
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
distdir = $(PACKAGE)-$(VERSION)
top_distdir = $(distdir)
| sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$'
distcleancheck_listfiles = find . -type f -print
ACLOCAL = @ACLOCAL@
-ACLOCAL_AMFLAGS = @ACLOCAL_AMFLAGS@
AMTAR = @AMTAR@
AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
AUTOCONF = @AUTOCONF@
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
LIBOBJS = @LIBOBJS@
LIBS = @LIBS@
+LN_S = @LN_S@
LTLIBOBJS = @LTLIBOBJS@
MAINT = @MAINT@
MAKEINFO = @MAKEINFO@
top_build_prefix = @top_build_prefix@
top_builddir = @top_builddir@
top_srcdir = @top_srcdir@
-SUBDIRS = iso_639 iso_639_3 iso_639_5 iso_3166 iso_3166_2 iso_4217 iso_15924
+SUBDIRS = $(DOMAINS)
pkgconfigdir = $(datadir)/pkgconfig
pkgconfig_DATA = iso-codes.pc
-# For this release, just install the JSON files.
+# Install the JSON files.
jsondir = $(pkgdatadir)/json
dist_json_DATA = $(wildcard $(srcdir)/data/*.json)
-EXTRA_DIST = \
- LICENSE \
- common.mk \
- iso2pot.py \
- check_valid_utf8.py
+# Include the "bin" directory, the common Makefile snippet
+# and the markdown documentation currently not handled
+# by automake
+EXTRA_DIST = bin common.mk README.md
DISTCLEANFILES = $(pkgconfig_DATA)
all: all-recursive
.PRECIOUS: Makefile
+# Updates all pot files
+.PHONY: pot
+pot:
+ for domain in $(DOMAINS); do \
+ cd $$domain && make $$domain.pot && cd ..; \
+ done
+
+# Updates all xml files
+.PHONY: xml
+xml:
+ for domain in $(DOMAINS); do \
+ cd $$domain && make $$domain.xml && cd ..; \
+ done
+
.PHONY: release
release: update-po check distcheck
.PHONY: update-po
update-po:
- for domain in $(SUBDIRS); do \
+ for domain in $(DOMAINS); do \
cd $$domain && make update-po && cd ..; \
done