aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/libcmd/meson.build7
1 files changed, 7 insertions, 0 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 : '.',