aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authoreldritch horrors <pennae@lix.systems>2024-04-11 14:33:16 +0000
committerGerrit Code Review <gerrit@lix>2024-04-11 14:33:16 +0000
commite4a8c01bdf81c6a66ba1b21d6c4f7a8913a64306 (patch)
treeef06b801ff622b7a8520846772796a40223fcfa5 /src
parentd106bb553bc034c4ae2c1e7f55e7c97417c84a98 (diff)
parentcd79b8d65ac0c46fd28fcba8a0900d7982533ef0 (diff)
Merge changes Iedf46484,I76b51eac,I6a084827,I60193f9f into main
* changes: meson: fix log-dir manual: build docs with dummy envs libcmd: install generated headers as well docs: redo content generation for mdbook and manual
Diffstat (limited to 'src')
-rw-r--r--src/libcmd/meson.build7
-rw-r--r--src/libutil/config.hh2
2 files changed, 8 insertions, 1 deletions
diff --git a/src/libcmd/meson.build b/src/libcmd/meson.build
index b057daa37..6b1b44d84 100644
--- a/src/libcmd/meson.build
+++ b/src/libcmd/meson.build
@@ -58,6 +58,13 @@ libcmd = library(
)
install_headers(libcmd_headers, subdir : 'nix', preserve_path : true)
+custom_target(
+ command : [ 'cp', '@INPUT@', '@OUTPUT@' ],
+ input : libcmd_generated_headers,
+ output : '@PLAINNAME@',
+ install : true,
+ install_dir : includedir / 'nix',
+)
liblixcmd = declare_dependency(
include_directories : '.',
diff --git a/src/libutil/config.hh b/src/libutil/config.hh
index 01e1239b3..fb433c607 100644
--- a/src/libutil/config.hh
+++ b/src/libutil/config.hh
@@ -436,7 +436,7 @@ struct ExperimentalFeatureSettings : Config {
The following experimental features are available:
- {{#include experimental-features-shortlist.md}}
+ {{#include @generated@/command-ref/experimental-features-shortlist.md}}
Experimental features are [further documented in the manual](@docroot@/contributing/experimental-features.md).
)"};