diff mbox series

[bug#63460] build: Add dependency on guix script for help2man targets.

Message ID f343962488c4565c684334cdbb4e5426e555f55a.1683878393.git.dev@jpoiret.xyz
State New
Headers show
Series [bug#63460] build: Add dependency on guix script for help2man targets. | expand

Commit Message

Josselin Poiret May 12, 2023, 8 a.m. UTC
From: Josselin Poiret <dev@jpoiret.xyz>

* doc/local.mk: Add dependency on guix script for help2man targets.
---
 doc/local.mk | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)


base-commit: 60cf9866cfd01bd0492bdc427a016e26d779bb4e

Comments

Ludovic Courtès June 8, 2023, 9:01 p.m. UTC | #1
Josselin Poiret <dev@jpoiret.xyz> skribis:

> From: Josselin Poiret <dev@jpoiret.xyz>
>
> * doc/local.mk: Add dependency on guix script for help2man targets.

LGTM, thanks!
Ludovic Courtès Aug. 15, 2023, 7:46 p.m. UTC | #2
Hey!

Ludovic Courtès <ludo@gnu.org> skribis:

> Josselin Poiret <dev@jpoiret.xyz> skribis:
>
>> From: Josselin Poiret <dev@jpoiret.xyz>
>>
>> * doc/local.mk: Add dependency on guix script for help2man targets.
>
> LGTM, thanks!

Gently ping: looks like it feel through the cracks.  :-)

Ludo’.
Josselin Poiret Aug. 16, 2023, 7:54 a.m. UTC | #3
Hey Ludo,

Ludovic Courtès <ludo@gnu.org> writes:

> Gently ping: looks like it feel through the cracks.  :-)

Thanks, I thought I had merged it!  Putting it in my (ever-growing) queue.

Best,
Josselin Poiret Aug. 25, 2023, 4:29 p.m. UTC | #4
Hi,

Pushed as ca8acad38264dd29a808904d3ce8e7249194d95f.

Closing.

Best,
diff mbox series

Patch

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 $*";; \