aboutsummaryrefslogtreecommitdiff
path: root/doc/manual/src
diff options
context:
space:
mode:
Diffstat (limited to 'doc/manual/src')
-rw-r--r--doc/manual/src/command-ref/meson.build16
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',
+)