guix-commits
[Top][All Lists]
Advanced

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

07/07: doc: Fix a potential problem in man page generation rule.


From: guix-commits
Subject: 07/07: doc: Fix a potential problem in man page generation rule.
Date: Tue, 29 Aug 2023 14:55:17 -0400 (EDT)

apteryx pushed a commit to branch master
in repository guix.

commit 0d9619354bf6c51a26bee7eb52073023dedafd49
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Tue Aug 29 14:33:41 2023 -0400

    doc: Fix a potential problem in man page generation rule.
    
    Since commit ca8acad3 ("build: Add dependency on guix script for help2man
    targets."), the $< special Make variable in the recipe was matching
    scripts/guix instead of the more specific 'guix/scripts/%.scm' source.
    
    * doc/local.mk ($(srcdir)/%D%/guix-%.1): Move the scripts/guix prerequisite 
to
    the end.
---
 doc/local.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/doc/local.mk b/doc/local.mk
index 9d1e3ff7e4..97f0c3a92a 100644
--- a/doc/local.mk
+++ b/doc/local.mk
@@ -230,7 +230,7 @@ $(srcdir)/%D%/guix.1: scripts/guix.in $(sub_commands_mans)
 # 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.  We also need the guix script to exist.
-$(srcdir)/%D%/guix-%.1: scripts/guix guix/scripts/%.scm $(GOBJECTS)
+$(srcdir)/%D%/guix-%.1: guix/scripts/%.scm $(GOBJECTS) scripts/guix
        -@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]