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 /Makefile.am | |
parent | 9490c411f0d9a0a9476cb7b0855f5c2461c49b38 (diff) | |
download | patches-b9fe8fd662180e64156d2b95a671242c20f0acfc.tar patches-b9fe8fd662180e64156d2b95a671242c20f0acfc.tar.gz |
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 'Makefile.am')
-rw-r--r-- | Makefile.am | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am index 4d59fde839..86528e8fdd 100644 --- a/Makefile.am +++ b/Makefile.am @@ -10,6 +10,7 @@ # Copyright © 2017 Jan Nieuwenhuizen <janneke@gnu.org> # Copyright © 2017 Arun Isaac <arunisaac@systemreboot.net> # Copyright © 2018 Nils Gillmann <ng0@n0.is> +# Copyright © 2018 Julien Lepiller <julien@lepiller.eu> # # This file is part of GNU Guix. # @@ -26,6 +27,8 @@ # You should have received a copy of the GNU General Public License # along with GNU Guix. If not, see <http://www.gnu.org/licenses/>. +MSGMERGE_UPDATE = @MSGMERGE@ --update + bin_SCRIPTS = scripts/guix # Handle substitution of fully-expanded Autoconf variables. @@ -51,6 +54,7 @@ MODULES_NOT_COMPILED = \ guix/man-db.scm include gnu/local.mk +include po/doc/local.mk MODULES = \ guix/base16.scm \ @@ -454,7 +458,7 @@ dist_fishcompletion_DATA = etc/completion/fish/guix.fish # SELinux policy dist_selinux_policy_DATA = etc/guix-daemon.cil -EXTRA_DIST = \ +EXTRA_DIST += \ HACKING \ ROADMAP \ TODO \ @@ -792,3 +796,7 @@ AM_V_DOT_0 = @echo " DOT " $@; AM_V_HELP2MAN = $(AM_V_HELP2MAN_$(V)) AM_V_HELP2MAN_ = $(AM_V_HELP2MAN_$(AM_DEFAULT_VERBOSITY)) AM_V_HELP2MAN_0 = @echo " HELP2MAN" $@; + +AM_V_PO4A = $(AM_V_PO4A_$(V)) +AM_V_PO4A_ = $(AM_V_PO4A_$(AM_DEFAULT_VERBOSITY)) +AM_V_PO4A_0 = @echo " PO4A" $@; |