fi
AM_CONDITIONAL([BOLD_MAN_REFS], [test "$gl_bold_manpages" != no])
+# When generating manual pages, include a "Report any translation bugs" line.
+AC_DEFINE([PACKAGE_L10N_BUGREPORT], ["https://translationproject.org/team/"],
+ [Define to the URL of your translation project.])
+
AC_ARG_ENABLE([manual-url],
[AS_HELP_STRING([--enable-manual-url@<:@=<url>@:>@],
[When generating man pages, or displaying --help, generate hyperlinks
if BOLD_MAN_REFS
help2man_OPTS=--bold-refs
endif
-run_help2man = env TERM=not_dumb $(PERL) -- \
+run_help2man = env IN_HELP2MAN=1 TERM=not_dumb $(PERL) -- \
$(srcdir)/man/help2man --loose-indent $(help2man_OPTS)
else
run_help2man = $(SHELL) $(srcdir)/man/dummy-man
emit_bug_reporting_address ();
- /* Don't output this redundant message for English locales.
- Note we still output for 'C' so that it gets included in the man page. */
- char const *lc_messages = setlocale (LC_MESSAGES, NULL);
- if (lc_messages && STRNCMP_LIT (lc_messages, "en_"))
- {
- /* TRANSLATORS: Replace LANG_CODE in this URL with your language code
- <https://translationproject.org/team/LANG_CODE.html> to form one of
- the URLs at https://translationproject.org/team/. Otherwise, replace
- the entire URL with your translation team's email address. */
- fputs (_("Report any translation bugs to "
- "<https://translationproject.org/team/>\n"), stdout);
- }
/* .htaccess on the coreutils web site maps programs to the appropriate page,
however we explicitly handle "[" -> "test" here as the "[" is not
recognized as part of a URL by default in terminals. */