Rationalize shellchecks in meson.build
[geeqie.git] / meson.build
index f594ae7..e4ac6d4 100644 (file)
@@ -583,6 +583,10 @@ configure_file(input : 'config.h.in',
                encoding : 'UTF-8',
                configuration : conf_data)
 
+# For shellcheck on scripts
+script_sources = []
+subdir('scripts')
+
 # Process subdirs before the sources
 subdir('po')
 subdir('plugins')
@@ -642,36 +646,9 @@ endif
 
 # Shellcheck
 shellcheck_exe = find_program('shellcheck', required : false)
-script_sources = files('./doc/create-doxygen-lua-api.sh',
-'./doc/create-shortcuts-xml.sh',
-'./gen_changelog.sh',
-'./geeqie-install-debian.sh',
-'./plugins/camera-import/geeqie-camera-import',
-'./plugins/camera-import/geeqie-camera-import-hook-script',
-'./plugins/export-jpeg/geeqie-export-jpeg',
-'./plugins/image-crop/geeqie-image-crop',
-'./plugins/random-image/geeqie-random-image',
-'./plugins/rotate/geeqie-rotate',
-'./plugins/symlink/geeqie-symlink',
-'./plugins/tethered-photography/geeqie-tethered-photography',
-'./plugins/tethered-photography/geeqie-tethered-photography-hook-script',
-'./po/gen_translations_stats.sh',
-'./po/regen_potfiles.sh',
-'./scripts/authors.sh',
-'./scripts/check-compiles.sh',
-'./scripts/doxygen-help.sh',
-'./scripts/doxygen.sh',
-'./scripts/generate-ClayRGB1998-icc-h.sh',
-'./scripts/generate-appimage.sh',
-'./scripts/generate-linuxdeploy-for-arm.sh',
-'./scripts/generate-man-page.sh',
-'./scripts/keyword_merge.sh',
-'./scripts/new-release.sh',
-'./scripts/template-desktop.sh',
-'./scripts/translators.sh',
-'./scripts/untranslated-text.sh',
-'./scripts/web-help.sh',
-'./version.sh',)
+script_sources += files('gen_changelog.sh',
+'geeqie-install-debian.sh',
+'version.sh')
 
 if shellcheck_exe.found()
     foreach script : script_sources