summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/meson.build13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/meson.build b/src/meson.build
index 070a55b..972e4b4 100644
--- a/src/meson.build
+++ b/src/meson.build
@@ -51,8 +51,21 @@ apk_src = [
'app_stats.c',
'app_verify.c',
'app_version.c',
+ 'help.c',
]
+genhelp_script = find_program('genhelp.lua')
+
+generated_help = custom_target(
+ 'help.h',
+ capture: true,
+ output: 'help.h',
+ input: man_files,
+ command: [genhelp_script, '@INPUT@'],
+)
+
+apk_src += [ generated_help ]
+
apk_cargs = [
'-DAPK_VERSION="' + meson.project_version() + '"',
'-D_ATFILE_SOURCE',