The po/ directory also has a file named Makevars. It contains variables that are specific to your project. po/Makevars gets inserted into the po/Makefile when the latter is created. The variables thus take effect when the POT file is created or updated, and when the message catalogs get installed.
The first three variables can be left unmodified if your package has a single message domain and, accordingly, a single po/ directory. Only packages which have multiple po/ directories at different locations need to adjust the three first variables defined in Makevars.
As an alternative to the
XGETTEXT_OPTIONS variables, it is also
possible to specify
xgettext options through the
AM_XGETTEXT_OPTION autoconf macro. See AM_XGETTEXT_OPTION.