Once set in project() it will make that value accessible without
re-running a shell script, which speeds up configuration slightly due to
less forking.
+++ /dev/null
-#!/bin/sh
-
-## @file
-## @brief Convert README.md to README.html
-##
-## Create README.html file,
-##
-
-srcdir="$1"
-builddir="$2"
-
-if [ ! -e "$srcdir/README.md" ]
-then
- printf '%s\n' "ERROR: README.md not found"
- exit 1
-fi
-
-if ! command -v pandoc > /dev/null 2>&1
-then
- printf '%s\n' "ERROR: File pandoc not installed"
- exit 1
-fi
-
-pandoc "$srcdir/README.md" > "$builddir/README.html"
-
-exit 0
# Create the define constants used in the sources. Set via config.h.in
conf_data = configuration_data()
-conf_data.set_quoted('VERSION', run_command('./version.sh', check : true).stdout())
+conf_data.set_quoted('VERSION', meson.project_version())
conf_data.set('DEBUG', debug)
gtk_dep = dependency('gtk+-3.0', version : '>=3.22', required: true)