guix-commits
[Top][All Lists]
Advanced

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

03/08: build: Add dependency on guix script for help2man targets.


From: guix-commits
Subject: 03/08: build: Add dependency on guix script for help2man targets.
Date: Fri, 25 Aug 2023 12:28:37 -0400 (EDT)

jpoiret pushed a commit to branch master
in repository guix.

commit ca8acad38264dd29a808904d3ce8e7249194d95f
Author: Josselin Poiret <dev@jpoiret.xyz>
AuthorDate: Fri May 12 10:00:00 2023 +0200

    build: Add dependency on guix script for help2man targets.
    
    * doc/local.mk: Add dependency on guix script for help2man targets.
    
    Signed-off-by: Ludovic Courtès <ludo@gnu.org>
---
 doc/local.mk | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/doc/local.mk b/doc/local.mk
index 89285b9f35..9d1e3ff7e4 100644
--- a/doc/local.mk
+++ b/doc/local.mk
@@ -229,8 +229,8 @@ $(srcdir)/%D%/guix.1: scripts/guix.in $(sub_commands_mans)
 # The 'case' ensures the man pages are only generated if the corresponding
 # source script (the first prerequisite) has been changed.  The $(GOBJECTS)
 # prerequisite is solely meant to force these docs to be made only after all
-# Guile modules have been compiled.
-$(srcdir)/%D%/guix-%.1: guix/scripts/%.scm $(GOBJECTS)
+# Guile modules have been compiled.  We also need the guix script to exist.
+$(srcdir)/%D%/guix-%.1: scripts/guix guix/scripts/%.scm $(GOBJECTS)
        -@case '$?' in \
          *$<*) $(AM_V_P) && set -x || echo "  HELP2MAN $@"; \
                $(gen_man) --output="$@" "guix $*";; \



reply via email to

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