encoding : 'UTF-8',
configuration : conf_data)
+# For shellcheck on scripts
+script_sources = []
+subdir('scripts')
+
# Process subdirs before the sources
subdir('po')
subdir('plugins')
# 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
--- /dev/null
+# This file is a part of Geeqie project (https://www.geeqie.org/).
+# Copyright (C) 2008 - 2023 The Geeqie Team
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+
+script_sources += files('authors.sh',
+'check-compiles.sh',
+'doxygen-help.sh',
+'doxygen.sh',
+'generate-ClayRGB1998-icc-h.sh',
+'generate-appimage.sh',
+'generate-linuxdeploy-for-arm.sh',
+'generate-man-page.sh',
+'keyword_merge.sh',
+'new-release.sh',
+'template-desktop.sh',
+'translators.sh',
+'untranslated-text.sh',
+'web-help.sh')
+