From a683a13120e132bbbca8cfa58f4886895cca639f Mon Sep 17 00:00:00 2001 From: Daniel Eklöf Date: Thu, 24 Sep 2020 16:44:26 +0200 Subject: Revert "meson: add -Dwith-docs=disabled|enabled|auto" This reverts commit 9d6b2c934222f7e492fba06d02dd2d5991814d1b. --- meson.build | 26 ++++++++++---------------- 1 file changed, 10 insertions(+), 16 deletions(-) (limited to 'meson.build') diff --git a/meson.build b/meson.build index a882dd0b..fc79f8a8 100644 --- a/meson.build +++ b/meson.build @@ -60,9 +60,6 @@ wayland_client = dependency('wayland-client') wayland_cursor = dependency('wayland-cursor') xkb = dependency('xkbcommon') fontconfig = dependency('fontconfig') -scdoc = dependency('scdoc', native: true, required: get_option('with-docs')) - -build_and_install_docs = scdoc.found() tllist = dependency('tllist', version: '>=1.0.4', fallback: 'tllist') fcft = dependency('fcft', version: ['>=2.3.0', '<3.0.0'], fallback: 'fcft') @@ -160,24 +157,21 @@ custom_target( install: true, install_dir: join_paths(get_option('datadir'), 'terminfo')) +install_data( + 'LICENSE', 'README.md', 'CHANGELOG.md', + install_dir: join_paths(get_option('datadir'), 'doc', 'foot')) install_data( 'foot.desktop', 'foot-server.desktop', install_dir: join_paths(get_option('datadir'), 'applications')) install_data('foot.ini', install_dir: join_paths(get_option('datadir'), 'foot')) subdir('completions') +subdir('doc') subdir('icons') -if build_and_install_docs - install_data( - 'LICENSE', 'README.md', 'CHANGELOG.md', - install_dir: join_paths(get_option('datadir'), 'doc', 'foot')) - subdir('doc') -endif - -summary( - { - 'Documentation': build_and_install_docs, - }, - bool_yn: true -) +# summary( +# { +# '': false, +# }, +# bool_yn: true +# ) -- cgit v1.3