14
14
m4_ifndef([AC_AUTOCONF_VERSION],
15
15
[m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
16
m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.66],,
17
[m4_warning([this file was generated for autoconf 2.66.
16
m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.68],,
17
[m4_warning([this file was generated for autoconf 2.68.
18
18
You have another version of autoconf. It may work, but is not guaranteed to.
19
19
If you have problems, you may need to regenerate the build system entirely.
20
20
To do so, use the procedure documented by the package, typically `autoreconf'.])])
60
60
_HELP_C_EXTRA = $(foreach f,$(HELP_EXTRA),C/$(f))
61
61
_HELP_C_MEDIA = $(foreach f,$(HELP_MEDIA),C/$(f))
62
62
_HELP_LC_FILES = $(foreach lc,$(_HELP_LINGUAS),$(foreach f,$(HELP_FILES),$(lc)/$(f)))
63
_HELP_LC_STAMPS = $(foreach lc,$(_HELP_LINGUAS),$(lc)/$(lc).stamp)
65
64
_HELP_DEFAULT_V = $(if $(AM_DEFAULT_VERBOSITY),$(AM_DEFAULT_VERBOSITY),1)
66
65
_HELP_V = $(if $(V),$(V),$(_HELP_DEFAULT_V))
100
99
$(AM_V_at)if ! test -d "$(dir [$]@)"; then mkdir "$(dir [$]@)"; fi
101
100
$(AM_V_GEN)msgfmt -o "[$]@" "$<"
103
$(_HELP_LC_FILES): $(_HELP_LINGUAS)
104
$(_HELP_LINGUAS): $(_HELP_LC_STAMPS)
105
$(_HELP_LC_STAMPS): %.stamp: %.mo
106
$(_HELP_LC_STAMPS): $(_HELP_C_FILES) $(_HELP_C_EXTRA)
102
$(_HELP_LC_FILES): $(_HELP_MOFILES)
103
$(_HELP_LC_FILES): $(_HELP_C_FILES) $(_HELP_C_EXTRA)
107
104
$(AM_V_at)if ! test -d "$(dir [$]@)"; then mkdir "$(dir [$]@)"; fi
108
$(_HELP_LC_VERBOSE)if test -d "C"; then d="../"; else d="$(abs_srcdir)/"; fi; \
105
$(_HELP_LC_VERBOSE)if test -f "C/$(notdir [$]@)"; then d="../"; else d="$(abs_srcdir)/"; fi; \
109
106
mo="$(dir [$]@)$(patsubst %/$(notdir [$]@),%,[$]@).mo"; \
110
107
if test -f "$${mo}"; then mo="../$${mo}"; else mo="$(abs_srcdir)/$${mo}"; fi; \
111
(cd "$(dir [$]@)" && $(ITSTOOL) -m "$${mo}" $(foreach f,$(_HELP_C_FILES),$${d}/$(f))) && \
108
(cd "$(dir [$]@)" && $(ITSTOOL) -m "$${mo}" $(foreach f,$(_HELP_C_FILES),$${d}/$(f)))
114
110
.PHONY: clean-help
115
111
mostlyclean-am: $(if $(HELP_ID),clean-help)
117
rm -f $(_HELP_LC_FILES) $(_HELP_LC_STAMPS) $(_HELP_MOFILES)
113
rm -f $(_HELP_LC_FILES) $(_HELP_MOFILES)
120
EXTRA_DIST += $(_HELP_C_FILES) $(_HELP_LC_FILES) $(_HELP_LC_STAMPS) $(_HELP_C_EXTRA) $(_HELP_C_MEDIA) $(_HELP_POFILES)
116
EXTRA_DIST += $(_HELP_C_FILES) $(_HELP_LC_FILES) $(_HELP_C_EXTRA) $(_HELP_C_MEDIA) $(_HELP_POFILES)
121
117
EXTRA_DIST += $(foreach f,$(HELP_MEDIA),$(foreach lc,$(_HELP_LINGUAS),$(wildcard $(lc)/$(f))))
123
119
.PHONY: check-help