guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/01: nls: Update documentation po and pot with `make dist`.


From: guix-commits
Subject: 01/01: nls: Update documentation po and pot with `make dist`.
Date: Wed, 28 Nov 2018 16:24:16 -0500 (EST)

roptat pushed a commit to branch master
in repository guix.

commit 7565d40e1e583b35148088bcf79760b9f95f91d9
Author: Julien Lepiller <address@hidden>
Date:   Wed Nov 28 22:20:08 2018 +0100

    nls: Update documentation po and pot with `make dist`.
    
    * Makefile.am: dist-hook depends on doc-po-update.
    * po/doc/local.mk (doc-po-update): New target.
---
 Makefile.am     |  1 +
 po/doc/local.mk | 12 ++++++++++--
 2 files changed, 11 insertions(+), 2 deletions(-)

diff --git a/Makefile.am b/Makefile.am
index c5676b0..05c450c 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -612,6 +612,7 @@ guix-binary.%.tar.xz:
 
 dist-hook: $(distdir)/ChangeLog gen-AUTHORS gen-tarball-version
 dist-hook: assert-no-store-file-names
+dist-hook: doc-po-update
 
 distcheck-hook: assert-binaries-available assert-final-inputs-self-contained
 
diff --git a/po/doc/local.mk b/po/doc/local.mk
index 3d3b4f6..6b934d9 100644
--- a/po/doc/local.mk
+++ b/po/doc/local.mk
@@ -16,11 +16,14 @@
 # You should have received a copy of the GNU General Public License
 # along with GNU Guix.  If not, see <http://www.gnu.org/licenses/>.
 
-EXTRA_DIST = \
-  %D%/guix-manual.pot \
+DOC_PO_FILES= \
   %D%/guix-manual.de.po \
   %D%/guix-manual.fr.po
 
+EXTRA_DIST = \
+  %D%/guix-manual.pot \
+  $(DOC_PO_FILES)
+
 POT_OPTIONS = --package-name "guix" --package-version "$(VERSION)" \
                  --copyright-holder "Ludovic Courtès" \
                          --msgid-bugs-address "address@hidden"
@@ -58,3 +61,8 @@ doc-pot-update:
        done
        msgcat $(addprefix $(srcdir)/po/doc/, $(TMP_POT_FILES)) > 
$(srcdir)/po/doc/guix-manual.pot
        rm -f $(addprefix $(srcdir)/po/doc/, $(TMP_POT_FILES))
+
+doc-po-update: doc-pot-update
+       for f in $(DOC_PO_FILES); do \
+               $(MAKE) "$$f"; \
+       done



reply via email to

[Prev in Thread] Current Thread [Next in Thread]