build: correctly propagate changes to Lix source to manual

This adds the nix executable as an input argument to the custom targets
that build the manual (HTML, and the man pages), so that changes to
things like src/nix/nix.md cause the correct rebuilds

Change-Id: Iffaa2c14acbfc721caef7b8cae9b53ecd365f26d
This commit is contained in:
Qyriad 2024-06-06 14:10:11 -06:00
parent 4734ce7831
commit ff99f4a882

View file

@ -110,6 +110,7 @@ manual = custom_target(
builtins_md, builtins_md,
builtin_constants_md, builtin_constants_md,
rl_next_generated, rl_next_generated,
nix,
], ],
output : [ output : [
'manual', 'manual',
@ -186,6 +187,7 @@ foreach command : nix_nested_manpages
], ],
input : [ input : [
manual_md, manual_md,
nix,
], ],
output : command[0] + '-' + page + '.1', output : command[0] + '-' + page + '.1',
install : true, install : true,
@ -298,6 +300,7 @@ foreach page : nix3_manpages
input : [ input : [
'render-manpage.sh', 'render-manpage.sh',
manual_md, manual_md,
nix,
], ],
output : page + '.1', output : page + '.1',
install : true, install : true,
@ -341,6 +344,7 @@ foreach entry : nix_manpages
'render-manpage.sh', 'render-manpage.sh',
manual_md, manual_md,
entry.get(3, []), entry.get(3, []),
nix,
], ],
output : '@0@.@1@'.format(entry[0], entry[1]), output : '@0@.@1@'.format(entry[0], entry[1]),
install : true, install : true,