From 718e07f78a6f5a5a1c5c1a961308bd85afb4db30 Mon Sep 17 00:00:00 2001 From: Rasmus Thomsen Date: Thu, 7 May 2020 12:38:21 +0200 Subject: build: build help.h with meson --- meson.build | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'meson.build') diff --git a/meson.build b/meson.build index c3fd394..d348ad5 100644 --- a/meson.build +++ b/meson.build @@ -13,7 +13,7 @@ apk_libdir = get_option('libdir') zlib_dep = dependency('zlib') openssl_dep = dependency('openssl') lua_dep = dependency('lua' + get_option('lua_version'), required: get_option('lua')) -scdoc = dependency('scdoc', version: '>=1.10', required: get_option('docs')) +scdoc_dep = dependency('scdoc', version: '>=1.10', required: get_option('docs')) add_project_arguments('-D_GNU_SOURCE', language: 'c') @@ -23,9 +23,6 @@ if get_option('default_library') == 'static' add_project_arguments('-DOPENSSL_NO_ENGINE', language: 'c') endif +subdir('doc') subdir('libfetch') subdir('src') - -if scdoc.found() - subdir('doc') -endif -- cgit v1.2.3-70-g09d2