From f42678802cb4da188858164605783ba18ae370ea Mon Sep 17 00:00:00 2001 From: eldritch horrors Date: Wed, 10 Apr 2024 22:08:07 +0200 Subject: libcmd: install generated headers as well these seem to have been forgotten. Change-Id: I6a084827d087f8098c19b62f2060a874d87202a1 --- src/libcmd/meson.build | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/libcmd') 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 : '.', -- cgit v1.2.3