aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authoreldritch horrors <pennae@lix.systems>2024-04-10 22:08:07 +0200
committereldritch horrors <pennae@lix.systems>2024-04-11 13:36:04 +0000
commitf42678802cb4da188858164605783ba18ae370ea (patch)
tree9cb87e92b62847ffbb4063200fbdd42880b58d19 /src
parent725f5cd358b2a3906a1922017fa424666a972758 (diff)
libcmd: install generated headers as well
these seem to have been forgotten. Change-Id: I6a084827d087f8098c19b62f2060a874d87202a1
Diffstat (limited to 'src')
-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 : '.',