Fix #1116: meson: Disabling pandoc disables installation of all documentation
authorColin Clark <colin.clark@cclark.uk>
Mon, 19 Jun 2023 14:33:08 +0000 (15:33 +0100)
committerColin Clark <colin.clark@cclark.uk>
Mon, 19 Jun 2023 14:33:08 +0000 (15:33 +0100)
https://github.com/BestImageViewer/geeqie/issues/1116

meson.build

index 1fdab92..a4cab49 100644 (file)
@@ -440,6 +440,7 @@ else
     summary({'lua' : ['disabled - lua supported:', false]}, section : 'Configuration', bool_yn : true)
 endif
 
+# Install standard documents
 option = get_option('pandoc')
 if not option.disabled()
     pandoc = find_program('pandoc', required : false)
@@ -456,10 +457,10 @@ if not option.disabled()
     else
         summary({'README' : ['pandoc not found - README.html created:', false]}, section : 'Documentation', bool_yn : true)
     endif
-    install_data('README.md', 'COPYING', 'TODO', install_dir : helpdir)
 else
     summary({'pandoc' : ['disabled - README.html created:', false]}, section : 'Documentation', bool_yn : true)
 endif
+install_data('README.md', 'COPYING', 'TODO', install_dir : helpdir)
 
 poppler_glib_dep = []
 req_version = '>=0.62'