Hello.

I received this from the Debian bug system:

---------- Forwarded message ----------
From: Guillem Jover <[email protected]>
To: [email protected]
Date: Wed, 8 Oct 2014 16:14:40 +0200
Subject: Bug#764483: gettext: Please support setting COPYRIGHT_HOLDER from an
    autoconf variable

Source: gettext
Source-Version: gettext
Severity: wishlist

Hi!

For dpkg, which uses muliple po directories, I'd like to be able to
set the COPYRIGHT_HOLDER variable centrally, instead of having to set
it on each po/Makevars file, and possibly having to keep it in sync.

It would be nice if gettext supported setting it from an autoconf
variable (with AC_SUBST), in the same way MSGID_BUGS_ADDRESS falls
back to use PACKAGE_BUGREPORT when MSGID_BUGS_ADDRESS is empty.

This might require setting something like:

  PACKAGE_COPYRIGHT_HOLDER = @PACKAGE_COPYRIGHT_HOLDER@

in Makefile.in.in, and making the code fallback to use that if
COPYRIGHT_HOLDER is not set.

For an example of how I'm using it now with po4a (which uses a
Makefile.am instead):

  <https://anonscm.debian.org/cgit/dpkg/dpkg.git/tree/configure.ac#n7>
  <https://anonscm.debian.org/cgit/dpkg/dpkg.git/tree/man/Makefile.am#n76>

(Hmm, it just occurred to me I could rename all Makevars to
Makevars.in and add them to the configure.ac AC_CONFIG_FILES, but
I'd rather have a proper variable for this if possible?)

Thanks,
Guillem

Reply via email to