guix-commits
[Top][All Lists]
Advanced

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

03/08: build: Add doc-po-update as a prerequisite to the dist target.


From: guix-commits
Subject: 03/08: build: Add doc-po-update as a prerequisite to the dist target.
Date: Sun, 18 Apr 2021 15:42:08 -0400 (EDT)

apteryx pushed a commit to branch version-1.3.0
in repository guix.

commit 75c8a4b02c8c3a804dffaa36d39c20ea27b98b68
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Sun Apr 18 12:23:32 2021 -0400

    build: Add doc-po-update as a prerequisite to the dist target.
    
    Otherwise 'make dist' would fail with the message: "No rule to make target
    'po/doc/guix-manual.pot', needed by 'distdir-am'.  Stop.".
    
    * Makefile.am (dist) <doc-po-update>: Add prerequisite.
    (dist-hook) <doc-po-update>: Remove prerequisite.
---
 Makefile.am | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/Makefile.am b/Makefile.am
index 79debd7..ce1e80d 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -746,9 +746,12 @@ guix-binary.%.tar.xz:
        cp "$$tarball" "$@.tmp" ; mv "$@.tmp" "$@"
 
 
+# The dependency on doc-po-update is to generate the .pot files, which are not
+# checked in.
+dist: doc-po-update
+
 dist-hook: gen-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
 



reply via email to

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