glib/docs/reference/glib/glib-gettextize.rst
Philip Withnall 031e65808d docs: Port the man pages from DocBook to reStructuredText
So they are consistent with the way we’re building man pages in other
projects, and because some people are allergic to XML.

This changes the build-time dependencies from `xsltproc` to `rst2man`,
and also takes the opportunity to change the `-Dman` Meson option from a
boolean to a feature (so you should use `-Dman-pages={enabled,disabled}`
now, rather than `-Dman={true,false}`).

Signed-off-by: Philip Withnall <pwithnall@gnome.org>

Helps: #3037
2023-12-21 13:34:48 +00:00

59 lines
1.4 KiB
ReStructuredText
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

.. _glib-gettextize(1):
.. meta::
:copyright: Copyright 2003 Matthias Clasen
:copyright: Copyright 2012 Red Hat, Inc.
:license: LGPL-2.1-or-later
..
This has to be duplicated from above to make it machine-readable by `reuse`:
SPDX-FileCopyrightText: 2003 Matthias Clasen
SPDX-FileCopyrightText: 2012 Red Hat, Inc.
SPDX-License-Identifier: LGPL-2.1-or-later
===============
glib-gettextize
===============
------------------------------------
gettext internationalization utility
------------------------------------
SYNOPSIS
--------
| **glib-gettextize** [*OPTION*…] [*DIRECTORY*]
DESCRIPTION
-----------
``glib-gettextize`` helps to prepare a source package for being
internationalized through `gettext <https://www.gnu.org/software/gettext/>`_.
It is a variant of the ``gettextize`` that ships with gettext.
``glib-gettextize`` differs from ``gettextize`` in that it doesnt create an
``intl/`` subdirectory and doesnt modify ``po/ChangeLog`` (note that newer
versions of ``gettextize`` behave like this when called with the
``--no-changelog`` option).
OPTIONS
-------
``--help``
Print help and exit.
``--version``
Print version information and exit.
``-c``, ``--copy``
Copy files instead of making symlinks.
``-f``, ``--force``
Force writing of new files even if old ones exist.
SEE ALSO
--------
`gettextize(1) <man:gettextize(1)>`_