diff options
| author | Julien Lepiller <julien@lepiller.eu> | 2018-03-02 23:05:28 +0100 |
|---|---|---|
| committer | Julien Lepiller <julien@lepiller.eu> | 2018-04-19 21:30:30 +0200 |
| commit | b9fe8fd662180e64156d2b95a671242c20f0acfc (patch) | |
| tree | 2ad838ee4cb3fe1d85619a759ea8838cd4ec66c5 /configure.ac | |
| parent | 9490c411f0d9a0a9476cb7b0855f5c2461c49b38 (diff) | |
gnu: doc: Allow documentation to be translated.
* po/doc/contributing.pot: New file.
* po/doc/guix.pot: New file.
* po/doc/local.mk: New file.
* Makefile.am: Include it. Add gettext command. Add silent rules for po4a.
* configure.ac: Look for po4a-translate and po4a-updatepo.
* doc/local.mk: Add rules to generate translated texi files.
(TRANSLATED_INFO): New variable.
(BUILT_SOURCES, EXTRA_DIST, MAINTAINERCLEANFILES): Add it.
* .gitignore: Add generated files.
Diffstat (limited to 'configure.ac')
| -rw-r--r-- | configure.ac | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 5872a848239..557da63189b 100644 --- a/configure.ac +++ b/configure.ac | |||
| @@ -263,6 +263,10 @@ AM_MISSING_PROG([DOT], [dot]) | |||
| 263 | dnl Manual pages. | 263 | dnl Manual pages. |
| 264 | AM_MISSING_PROG([HELP2MAN], [help2man]) | 264 | AM_MISSING_PROG([HELP2MAN], [help2man]) |
| 265 | 265 | ||
| 266 | dnl Documentation translation. | ||
| 267 | AM_MISSING_PROG([PO4A_TRANSLATE], [po4a-translate]) | ||
| 268 | AM_MISSING_PROG([PO4A_UPDATEPO], [po4a-updatepo]) | ||
| 269 | |||
| 266 | dnl Emacs (optional), for 'etc/indent-package.el'. | 270 | dnl Emacs (optional), for 'etc/indent-package.el'. |
| 267 | AC_PATH_PROG([EMACS], [emacs], [/usr/bin/emacs]) | 271 | AC_PATH_PROG([EMACS], [emacs], [/usr/bin/emacs]) |
| 268 | AC_SUBST([EMACS]) | 272 | AC_SUBST([EMACS]) |
