GNU bug report logs -
#63460
[PATCH] build: Add dependency on guix script for help2man targets.
Previous Next
Reported by: Josselin Poiret <dev <at> jpoiret.xyz>
Date: Fri, 12 May 2023 08:01:02 UTC
Severity: normal
Tags: patch
Done: Josselin Poiret <dev <at> jpoiret.xyz>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
From: Josselin Poiret <dev <at> jpoiret.xyz>
* doc/local.mk: Add dependency on guix script for help2man targets.
---
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 $*";; \
base-commit: 60cf9866cfd01bd0492bdc427a016e26d779bb4e
--
2.40.1
This bug report was last modified 1 year and 354 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.