1 # Makefile.in generated by automake 1.16.1 from Makefile.am.
4 # Copyright (C) 1994-2018 Free Software Foundation, Inc.
6 # This Makefile.in is free software; the Free Software Foundation
7 # gives unlimited permission to copy and/or distribute it,
8 # with or without modifications, as long as this notice is preserved.
10 # This program is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
12 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
19 if test -z '$(MAKELEVEL)'; then \
21 elif test -n '$(MAKE_HOST)'; then \
23 elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \
29 am__make_running_with_option = \
30 case $${target_option-} in \
32 *) echo "am__make_running_with_option: internal error: invalid" \
33 "target option '$${target_option-}' specified" >&2; \
37 sane_makeflags=$$MAKEFLAGS; \
38 if $(am__is_gnu_make); then \
39 sane_makeflags=$$MFLAGS; \
44 sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
45 | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
51 flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
53 for flg in $$sane_makeflags; do \
54 test $$skip_next = yes && { skip_next=no; continue; }; \
57 -*I) strip_trailopt 'I'; skip_next=yes;; \
58 -*I?*) strip_trailopt 'I';; \
59 -*O) strip_trailopt 'O'; skip_next=yes;; \
60 -*O?*) strip_trailopt 'O';; \
61 -*l) strip_trailopt 'l'; skip_next=yes;; \
62 -*l?*) strip_trailopt 'l';; \
63 -[dEDm]) skip_next=yes;; \
64 -[JT]) skip_next=yes;; \
67 *$$target_option*) has_opt=yes; break;; \
71 am__make_dryrun = (target_option=n; $(am__make_running_with_option))
72 am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
73 pkgdatadir = $(datadir)/@PACKAGE@
74 pkgincludedir = $(includedir)/@PACKAGE@
75 pkglibdir = $(libdir)/@PACKAGE@
76 pkglibexecdir = $(libexecdir)/@PACKAGE@
77 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
78 install_sh_DATA = $(install_sh) -c -m 644
79 install_sh_PROGRAM = $(install_sh) -c
80 install_sh_SCRIPT = $(install_sh) -c
81 INSTALL_HEADER = $(INSTALL_DATA)
82 transform = $(program_transform_name)
90 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
91 am__aclocal_m4_deps = $(top_srcdir)/configure.ac
92 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
94 DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON)
95 mkinstalldirs = $(install_sh) -d
97 CONFIG_CLEAN_VPATH_FILES =
98 AM_V_P = $(am__v_P_@AM_V@)
99 am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
102 AM_V_GEN = $(am__v_GEN_@AM_V@)
103 am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
104 am__v_GEN_0 = @echo " GEN " $@;
106 AM_V_at = $(am__v_at_@AM_V@)
107 am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
112 am__can_run_installinfo = \
113 case $$AM_UPDATE_INFO_DIR in \
115 *) (install-info --version) >/dev/null 2>&1;; \
117 am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
118 am__vpath_adj = case $$p in \
119 $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
122 am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
124 am__nobase_strip_setup = \
125 srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
127 for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
128 am__nobase_list = $(am__nobase_strip_setup); \
129 for p in $$list; do echo "$$p $$p"; done | \
130 sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
131 $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
132 if (++n[$$2] == $(am__install_max)) \
133 { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
134 END { for (dir in files) print dir, files[dir] }'
136 sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
137 sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
138 am__uninstall_files_from_dir = { \
140 || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
141 || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
142 $(am__cd) "$$dir" && rm -f $$files; }; \
144 am__installdirs = "$(DESTDIR)$(xmldir)"
145 DATA = $(nodist_xml_DATA) $(noinst_DATA)
146 am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
147 am__DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/common.mk
148 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
151 AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
152 AUTOCONF = @AUTOCONF@
153 AUTOHEADER = @AUTOHEADER@
154 AUTOMAKE = @AUTOMAKE@
156 CYGPATH_W = @CYGPATH_W@
163 INSTALL_DATA = @INSTALL_DATA@
164 INSTALL_PROGRAM = @INSTALL_PROGRAM@
165 INSTALL_SCRIPT = @INSTALL_SCRIPT@
166 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
170 LTLIBOBJS = @LTLIBOBJS@
172 MAKEINFO = @MAKEINFO@
174 MSGATTRIB = @MSGATTRIB@
175 MSGFILTER = @MSGFILTER@
177 MSGFMT_FLAGS = @MSGFMT_FLAGS@
178 MSGMERGE = @MSGMERGE@
180 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
181 PACKAGE_NAME = @PACKAGE_NAME@
182 PACKAGE_STRING = @PACKAGE_STRING@
183 PACKAGE_TARNAME = @PACKAGE_TARNAME@
184 PACKAGE_URL = @PACKAGE_URL@
185 PACKAGE_VERSION = @PACKAGE_VERSION@
186 PATH_SEPARATOR = @PATH_SEPARATOR@
187 RECODE_SR_LATIN = @RECODE_SR_LATIN@
188 SET_MAKE = @SET_MAKE@
192 abs_builddir = @abs_builddir@
193 abs_srcdir = @abs_srcdir@
194 abs_top_builddir = @abs_top_builddir@
195 abs_top_srcdir = @abs_top_srcdir@
196 am__leading_dot = @am__leading_dot@
198 am__untar = @am__untar@
200 build_alias = @build_alias@
201 builddir = @builddir@
203 datarootdir = @datarootdir@
206 exec_prefix = @exec_prefix@
207 host_alias = @host_alias@
209 includedir = @includedir@
211 install_sh = @install_sh@
213 libexecdir = @libexecdir@
214 localedir = $(datadir)/locale
215 localstatedir = @localstatedir@
218 oldincludedir = @oldincludedir@
221 program_transform_name = @program_transform_name@
223 runstatedir = @runstatedir@
225 sharedstatedir = @sharedstatedir@
227 sysconfdir = @sysconfdir@
228 target_alias = @target_alias@
229 top_build_prefix = @top_build_prefix@
230 top_builddir = @top_builddir@
231 top_srcdir = @top_srcdir@
233 xmldir = $(datadir)/xml/iso-codes
234 nodist_xml_DATA = $(DOMAIN).xml
235 pofiles = $(wildcard $(srcdir)/*.po)
236 mofiles = $(patsubst $(srcdir)/%.po,%.mo, $(pofiles))
237 noinst_DATA = $(mofiles) $(xml_DATA:.xml=.pot)
249 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/common.mk $(am__configure_deps)
251 case '$(am__configure_deps)' in \
253 ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
254 && { if test -f $@; then exit 0; else break; fi; }; \
258 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign iso_639-3/Makefile'; \
259 $(am__cd) $(top_srcdir) && \
260 $(AUTOMAKE) --foreign iso_639-3/Makefile
261 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
264 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
266 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles)'; \
267 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles);; \
269 $(top_srcdir)/common.mk $(am__empty):
271 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
272 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
274 $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
275 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
276 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
277 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
278 $(am__aclocal_m4_deps):
279 install-nodist_xmlDATA: $(nodist_xml_DATA)
281 @list='$(nodist_xml_DATA)'; test -n "$(xmldir)" || list=; \
282 if test -n "$$list"; then \
283 echo " $(MKDIR_P) '$(DESTDIR)$(xmldir)'"; \
284 $(MKDIR_P) "$(DESTDIR)$(xmldir)" || exit 1; \
286 for p in $$list; do \
287 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
289 done | $(am__base_list) | \
290 while read files; do \
291 echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(xmldir)'"; \
292 $(INSTALL_DATA) $$files "$(DESTDIR)$(xmldir)" || exit $$?; \
295 uninstall-nodist_xmlDATA:
297 @list='$(nodist_xml_DATA)'; test -n "$(xmldir)" || list=; \
298 files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
299 dir='$(DESTDIR)$(xmldir)'; $(am__uninstall_files_from_dir)
307 distdir: $(BUILT_SOURCES)
308 $(MAKE) $(AM_MAKEFLAGS) distdir-am
310 distdir-am: $(DISTFILES)
311 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
312 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
313 list='$(DISTFILES)'; \
314 dist_files=`for file in $$list; do echo $$file; done | \
315 sed -e "s|^$$srcdirstrip/||;t" \
316 -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
317 case $$dist_files in \
318 */*) $(MKDIR_P) `echo "$$dist_files" | \
319 sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
322 for file in $$dist_files; do \
323 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
324 if test -d $$d/$$file; then \
325 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
326 if test -d "$(distdir)/$$file"; then \
327 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
329 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
330 cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
331 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
333 cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
335 test -f "$(distdir)/$$file" \
336 || cp -p $$d/$$file "$(distdir)/$$file" \
341 $(MAKE) $(AM_MAKEFLAGS) check-local
343 all-am: Makefile $(DATA)
345 for dir in "$(DESTDIR)$(xmldir)"; do \
346 test -z "$$dir" || $(MKDIR_P) "$$dir"; \
349 install-exec: install-exec-am
350 install-data: install-data-am
351 uninstall: uninstall-am
354 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
356 installcheck: installcheck-am
358 if test -z '$(STRIP)'; then \
359 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
360 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
363 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
364 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
365 "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
368 -test -z "$(MOSTLYCLEANFILES)" || rm -f $(MOSTLYCLEANFILES)
373 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
374 -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
376 maintainer-clean-generic:
377 @echo "This command is intended for maintainers to use"
378 @echo "it deletes files that may require special tools to rebuild."
381 clean-am: clean-generic mostlyclean-am
383 distclean: distclean-am
385 distclean-am: clean-am distclean-generic
399 install-data-am: install-nodist_xmlDATA
401 $(MAKE) $(AM_MAKEFLAGS) install-data-hook
402 install-dvi: install-dvi-am
408 install-html: install-html-am
412 install-info: install-info-am
418 install-pdf: install-pdf-am
422 install-ps: install-ps-am
428 maintainer-clean: maintainer-clean-am
430 maintainer-clean-am: distclean-am maintainer-clean-generic
432 mostlyclean: mostlyclean-am
434 mostlyclean-am: mostlyclean-generic
444 uninstall-am: uninstall-nodist_xmlDATA
446 $(MAKE) $(AM_MAKEFLAGS) uninstall-hook
447 .MAKE: check-am install-am install-data-am install-strip uninstall-am
449 .PHONY: all all-am check check-am check-local clean clean-generic \
450 cscopelist-am ctags-am distclean distclean-generic distdir dvi \
451 dvi-am html html-am info info-am install install-am \
452 install-data install-data-am install-data-hook install-dvi \
453 install-dvi-am install-exec install-exec-am install-html \
454 install-html-am install-info install-info-am install-man \
455 install-nodist_xmlDATA install-pdf install-pdf-am install-ps \
456 install-ps-am install-strip installcheck installcheck-am \
457 installdirs maintainer-clean maintainer-clean-generic \
458 mostlyclean mostlyclean-generic pdf pdf-am ps ps-am tags-am \
459 uninstall uninstall-am uninstall-hook uninstall-nodist_xmlDATA
464 # Generic target to create binary .mo files from .po files
466 $(MSGFMT) $(MSGFMT_FLAGS) -o $@ $<
468 # Generic target to create .pot files from JSON data files
469 $(DOMAIN).pot: $(top_srcdir)/bin/pot_from_json.py $(top_srcdir)/data/$(DOMAIN).json $(top_srcdir)/bin/remove-potcdate.sin
471 python3 $(top_srcdir)/bin/pot_from_json.py $(DOMAIN) $(top_srcdir)/data
472 sed -f $(top_srcdir)/bin/remove-potcdate.sin < $@ > $(DOMAIN).1po
473 sed -f $(top_srcdir)/bin/remove-potcdate.sin < backup.pot > $(DOMAIN).2po
474 if cmp $(DOMAIN).1po $(DOMAIN).2po >/dev/null 2>&1; then \
475 rm -f $(DOMAIN).1po $(DOMAIN).2po $@ && \
478 rm -f $(DOMAIN).1po $(DOMAIN).2po backup.pot; \
481 # Generic target to create deprecated .xml files from JSON data files
482 $(DOMAIN).xml: $(top_srcdir)/bin/xml_from_json.py $(top_srcdir)/data/$(DOMAIN).json
483 python3 $(top_srcdir)/bin/xml_from_json.py $(DOMAIN) $(top_srcdir)/data $@
485 # Used in the domain subdirectories for checking that
486 # all .po files contain UTF-8 data
488 python3 $(top_srcdir)/bin/check_valid_utf8.py $(pofiles)
490 # This target merges all po files with the current pot file,
491 # removes obsolete msgids and substitutes the Project-Id-Version
492 # header with the PROJECT only, removing the VERSION part.
493 # This is done to keep the diff between releases small.
496 # Removing obsolete msgids is not the recommended way to go.
497 # However, we've decided that in the specific case of iso-codes
498 # the benefit outweights the loss of information. Having only msgids
499 # with one (sometimes two or three) words, the fuzzy matching performed
500 # with obsolete msgids will not ease the translator's work, but
501 # will lead to confusing entries.
503 # However, if there is only a small change, we include the fuzzy
504 # entry with the previous msgid to hopefully save some work.
507 for pofile in $(pofiles); do \
508 $(MSGMERGE) --previous $$pofile $(DOMAIN).pot > tmpfile; \
509 $(MSGATTRIB) --no-obsolete tmpfile > $$pofile; \
510 sed -i -e 's/^\"Project-Id-Version: iso.*/\"Project-Id-Version: $(DOMAIN)\\n\"/' $$pofile; \
513 if [ -f sr.po ]; then \
514 $(RECODE_SR_LATIN) < sr.po > sr@latin.po; \
515 sed -i -e 's/^\"Language: sr\\n\"/\"Language: sr@latin\\n\"/' sr@latin.po; \
517 if [ -f tt@iqtelif.po ]; then \
518 $(MSGFILTER) --keep-header sed -f $(top_srcdir)/bin/recode-tt-cyrillic.sed < tt@iqtelif.po > tt.po; \
519 sed -i -e 's/^\"Language: tt@iqtelif\\n\"/\"Language: tt\\n\"/' tt.po; \
522 install-data-hook: $(mofiles)
523 $(mkinstalldirs) $(DESTDIR)$(localedir)
524 catalogs='$(mofiles)'; \
525 for cat in $$catalogs; do \
526 cat=`basename $$cat`; \
527 lang=`echo $$cat | sed 's/\.mo$$//'`; \
528 dir=$(DESTDIR)$(localedir)/$$lang/LC_MESSAGES; \
529 $(mkinstalldirs) $$dir; \
530 $(INSTALL_DATA) $$cat $$dir/$(DOMAIN).mo; \
531 if [ "$(DOMAIN)" = "iso_639-2" ]; then (cd $$dir && $(LN_S) $(DOMAIN).mo iso_639.mo); fi; \
532 if [ "$(DOMAIN)" = "iso_639-3" ]; then (cd $$dir && $(LN_S) $(DOMAIN).mo iso_639_3.mo); fi; \
533 if [ "$(DOMAIN)" = "iso_639-5" ]; then (cd $$dir && $(LN_S) $(DOMAIN).mo iso_639_5.mo); fi; \
534 if [ "$(DOMAIN)" = "iso_3166-1" ]; then (cd $$dir && $(LN_S) $(DOMAIN).mo iso_3166.mo); fi; \
535 if [ "$(DOMAIN)" = "iso_3166-2" ]; then (cd $$dir && $(LN_S) $(DOMAIN).mo iso_3166_2.mo); fi; \
537 if [ "$(DOMAIN)" = "iso_639-2" ]; then (cd $(DESTDIR)$(xmldir) && $(LN_S) $(DOMAIN).xml iso_639.xml); fi
538 if [ "$(DOMAIN)" = "iso_639-3" ]; then (cd $(DESTDIR)$(xmldir) && $(LN_S) $(DOMAIN).xml iso_639_3.xml); fi
539 if [ "$(DOMAIN)" = "iso_639-5" ]; then (cd $(DESTDIR)$(xmldir) && $(LN_S) $(DOMAIN).xml iso_639_5.xml); fi
540 if [ "$(DOMAIN)" = "iso_3166-1" ]; then (cd $(DESTDIR)$(xmldir) && $(LN_S) $(DOMAIN).xml iso_3166.xml); fi
541 if [ "$(DOMAIN)" = "iso_3166-2" ]; then (cd $(DESTDIR)$(xmldir) && $(LN_S) $(DOMAIN).xml iso_3166_2.xml); fi
544 catalogs='$(mofiles)'; \
545 for cat in $$catalogs; do \
546 cat=`basename $$cat`; \
547 lang=`echo $$cat | sed 's/\.mo$$//'`; \
548 rm -f $(DESTDIR)$(localedir)/$$lang/LC_MESSAGES/$(DOMAIN).mo; \
549 if [ "$(DOMAIN)" = "iso_639-2" ]; then rm -f $(DESTDIR)$(localedir)/$$lang/LC_MESSAGES/iso_639.mo; fi; \
550 if [ "$(DOMAIN)" = "iso_639-3" ]; then rm -f $(DESTDIR)$(localedir)/$$lang/LC_MESSAGES/iso_639_3.mo; fi; \
551 if [ "$(DOMAIN)" = "iso_639-5" ]; then rm -f $(DESTDIR)$(localedir)/$$lang/LC_MESSAGES/iso_639_5.mo; fi; \
552 if [ "$(DOMAIN)" = "iso_3166-1" ]; then rm -f $(DESTDIR)$(localedir)/$$lang/LC_MESSAGES/iso_3166.mo; fi; \
553 if [ "$(DOMAIN)" = "iso_3166-1" ]; then rm -f $(DESTDIR)$(localedir)/$$lang/LC_MESSAGES/iso_3166_2.mo; fi; \
555 if [ "$(DOMAIN)" = "iso_639-2" ]; then rm -f $(DESTDIR)$(xmldir)/iso_639.xml; fi
556 if [ "$(DOMAIN)" = "iso_639-3" ]; then rm -f $(DESTDIR)$(xmldir)/iso_639_3.xml; fi
557 if [ "$(DOMAIN)" = "iso_639-5" ]; then rm -f $(DESTDIR)$(xmldir)/iso_639_5.xml; fi
558 if [ "$(DOMAIN)" = "iso_3166-1" ]; then rm -f $(DESTDIR)$(xmldir)/iso_3166.xml; fi
559 if [ "$(DOMAIN)" = "iso_3166-2" ]; then rm -f $(DESTDIR)$(xmldir)/iso_3166_2.xml; fi
561 # Tell versions [3.59,3.63) of GNU make to not export all variables.
562 # Otherwise a system limit (for SysV at least) may be exceeded.