diff options
author | Qyriad <qyriad@qyriad.me> | 2024-04-03 13:38:01 -0600 |
---|---|---|
committer | Qyriad <qyriad@qyriad.me> | 2024-04-03 13:52:56 -0600 |
commit | c96c5db030110ca0795260cd2e25f488a9ef15a8 (patch) | |
tree | 8317a23c882960da50892ba0945c638ababf2017 /doc/manual/src | |
parent | 56c7dfd65290dea957de6fad4e2df26f1630e407 (diff) |
meson: move nix3 manpage generation into command-ref/
This puts the generated files where they are for the make system.
This is in preparation for further meson-mdbook stuff.
Change-Id: I934df6854a80af5ccf381cf1da0bda0187a8bcfc
Diffstat (limited to 'doc/manual/src')
-rw-r--r-- | doc/manual/src/command-ref/meson.build | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/doc/manual/src/command-ref/meson.build b/doc/manual/src/command-ref/meson.build new file mode 100644 index 000000000..c4043c882 --- /dev/null +++ b/doc/manual/src/command-ref/meson.build @@ -0,0 +1,16 @@ +nix3_cli_files = custom_target( + 'command-ref-new-cli', + command : nix_eval_for_docs + [ + '--write-to', '@OUTPUT@', + '--expr', + 'import @INPUT1@ true (builtins.readFile @INPUT0@)', + ], + input : [ + nix3_cli_json, + files( + meson.project_source_root() / 'doc/manual/generate-manpage.nix', + meson.project_source_root() / 'doc/manual/utils.nix', + ), + ], + output : 'new-cli', +) |