Imported Upstream version 3.68
[platform/upstream/iso-codes.git] / Makefile.in
index d2985c6..99091cb 100644 (file)
@@ -184,7 +184,7 @@ CTAGS = ctags
 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)
@@ -228,7 +228,6 @@ am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \
   | 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@
@@ -248,6 +247,7 @@ INSTALL_SCRIPT = @INSTALL_SCRIPT@
 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
 LIBOBJS = @LIBOBJS@
 LIBS = @LIBS@
+LN_S = @LN_S@
 LTLIBOBJS = @LTLIBOBJS@
 MAINT = @MAINT@
 MAKEINFO = @MAKEINFO@
@@ -309,19 +309,18 @@ target_alias = @target_alias@
 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
 
@@ -827,12 +826,26 @@ uninstall-am: uninstall-dist_jsonDATA uninstall-pkgconfigDATA
 .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