Makevars 1011 B

12345678910111213141516171819202122232425262728293031323334
  1. # Makefile variables for PO directory in any package using GNU gettext.
  2. DOMAIN = guix
  3. subdir = po/guix
  4. top_builddir = ../..
  5. # These options get passed to xgettext. We want to catch standard
  6. # gettext uses, and SRFI-35 error condition messages. In C++ code
  7. # we use 'n_' instead of the more usual 'N_' for no-ops.
  8. XGETTEXT_OPTIONS = \
  9. --from-code=UTF-8 \
  10. --keyword=G_ --keyword=N_:1,2 \
  11. --keyword=message \
  12. --keyword=description \
  13. --keyword=synopsis \
  14. --keyword=n_
  15. COPYRIGHT_HOLDER = the authors of Guix (msgids)
  16. MSGID_BUGS_ADDRESS = bug-guix@gnu.org
  17. EXTRA_LOCALE_CATEGORIES =
  18. # Disable PO update upon "make dist", which sometimes fails when doing
  19. # "make distcheck -j4".
  20. # See <https://lists.gnu.org/archive/html/bug-gettext/2014-08/msg00005.html>.
  21. DIST_DEPENDS_ON_UPDATE_PO = no
  22. # Ignore the timestamp of the .pot file, as .po files are updated by
  23. # `make download-po` only. This ensures po files are not modified on the
  24. # first `make` invocation.
  25. PO_DEPENDS_ON_POT = no