Makevars 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114
  1. # Makefile variables for PO directory in any package using GNU gettext.
  2. #
  3. # Copyright (C) 2003-2019 Free Software Foundation, Inc.
  4. # This file is free software; the Free Software Foundation gives
  5. # unlimited permission to use, copy, distribute, and modify it.
  6. # Usually the message domain is the same as the package name.
  7. DOMAIN = $(PACKAGE)
  8. # These two variables depend on the location of this directory.
  9. subdir = po
  10. top_builddir = ..
  11. # These options get passed to xgettext.
  12. XGETTEXT_OPTIONS = --keyword=_ --keyword=N_
  13. # This is the copyright holder that gets inserted into the header of the
  14. # $(DOMAIN).pot file. Set this to the copyright holder of the surrounding
  15. # package. (Note that the msgstr strings, extracted from the package's
  16. # sources, belong to the copyright holder of the package.) Translators are
  17. # expected to transfer the copyright for their translations to this person
  18. # or entity, or to disclaim their copyright. The empty string stands for
  19. # the public domain; in this case the translators are expected to disclaim
  20. # their copyright.
  21. COPYRIGHT_HOLDER = Free Software Foundation, Inc.
  22. # This tells whether or not to prepend "GNU " prefix to the package
  23. # name that gets inserted into the header of the $(DOMAIN).pot file.
  24. # Possible values are "yes", "no", or empty. If it is empty, try to
  25. # detect it automatically by scanning the files in $(top_srcdir) for
  26. # "GNU packagename" string.
  27. PACKAGE_GNU = yes
  28. # This is the email address or URL to which the translators shall report
  29. # bugs in the untranslated strings:
  30. # - Strings which are not entire sentences, see the maintainer guidelines
  31. # in the GNU gettext documentation, section 'Preparing Strings'.
  32. # - Strings which use unclear terms or require additional context to be
  33. # understood.
  34. # - Strings which make invalid assumptions about notation of date, time or
  35. # money.
  36. # - Pluralisation problems.
  37. # - Incorrect English spelling.
  38. # - Incorrect formatting.
  39. # It can be your email address, or a mailing list address where translators
  40. # can write to without being subscribed, or the URL of a web page through
  41. # which the translators can contact you.
  42. MSGID_BUGS_ADDRESS = libmicrohttpd@gnu.org
  43. # This is the list of locale categories, beyond LC_MESSAGES, for which the
  44. # message catalogs shall be used. It is usually empty.
  45. EXTRA_LOCALE_CATEGORIES =
  46. # This tells whether the $(DOMAIN).pot file contains messages with an 'msgctxt'
  47. # context. Possible values are "yes" and "no". Set this to yes if the
  48. # package uses functions taking also a message context, like pgettext(), or
  49. # if in $(XGETTEXT_OPTIONS) you define keywords with a context argument.
  50. USE_MSGCTXT = no
  51. # These options get passed to msgmerge.
  52. # Useful options are in particular:
  53. # --previous to keep previous msgids of translated messages,
  54. # --quiet to reduce the verbosity.
  55. MSGMERGE_OPTIONS =
  56. # These options get passed to msginit.
  57. # If you want to disable line wrapping when writing PO files, add
  58. # --no-wrap to MSGMERGE_OPTIONS, XGETTEXT_OPTIONS, and
  59. # MSGINIT_OPTIONS.
  60. MSGINIT_OPTIONS =
  61. # This tells whether or not to regenerate a PO file when $(DOMAIN).pot
  62. # has changed. Possible values are "yes" and "no". Set this to no if
  63. # the POT file is checked in the repository and the version control
  64. # program ignores timestamps.
  65. PO_DEPENDS_ON_POT = yes
  66. # This tells whether or not to forcibly update $(DOMAIN).pot and
  67. # regenerate PO files on "make dist". Possible values are "yes" and
  68. # "no". Set this to no if the POT file and PO files are maintained
  69. # externally.
  70. DIST_DEPENDS_ON_UPDATE_PO = yes
  71. # Hacks for MHD
  72. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
  73. $(top_builddir)/po-config.status: $(srcdir)/po-configure.ac.in $(top_srcdir)/configure.ac
  74. @echo "cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) po-config.status" && \
  75. $(am__cd) '$(top_builddir)' && $(MAKE) $(AM_MAKEFLAGS) po-config.status
  76. $(srcdir)/POTFILES.in: $(top_srcdir)/src/microhttpd/Makefile.am
  77. @echo "cd $(top_srcdir)/src/microhttpd && $(MAKE) $(AM_MAKEFLAGS) update-po-POTFILES.in" && \
  78. $(am__cd) '$(top_srcdir)/src/microhttpd' && $(MAKE) $(AM_MAKEFLAGS) update-po-POTFILES.in
  79. $(srcdir)/stamp-m.in:
  80. @: > '$@'
  81. stamp-m: $(srcdir)/Makefile.in.in $(srcdir)/Makevars $(top_builddir)/po-config.status $(srcdir)/POTFILES.in $(srcdir)/stamp-m.in
  82. @$(am__cd) $(top_builddir) \
  83. && $(MHD_CONFIG_SHELL) ./po-config.status po/stamp-m po/Makefile.in po-directories
  84. .DELETE_ON_ERROR: stamp-m
  85. $(srcdir)/$(MHD_AUX_DIR)/install-sh: $(topsrcdir)/$(MHD_AUX_DIR)/install-sh
  86. @$(MKDIR_P) '$(topsrcdir)/$(MHD_AUX_DIR)'
  87. cp -f '$(topsrcdir)/$(MHD_AUX_DIR)/install-sh' '$@'
  88. mostlyclean: mostlycleancustom
  89. mostlycleancustom:
  90. -rm -f stamp-m Makefile.in po-configure.ac
  91. -rm -f $(top_builddir)/po-config.status
  92. .PHONY: mostlycleancustom