]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Apply suggestions from code review 14697/head
authorOtto Moerbeek <otto.moerbeek@open-xchange.com>
Mon, 7 Oct 2024 09:31:49 +0000 (11:31 +0200)
committerGitHub <noreply@github.com>
Mon, 7 Oct 2024 09:31:49 +0000 (11:31 +0200)
Co-authored-by: Remi Gacogne <github@coredump.fr>
pdns/recursordist/settings/Makefile.am

index 53b78b549bbd733ca041d4aec1429be88328f8db..8d186d14aaed07bba0123f453a29c210c26ae437 100644 (file)
@@ -23,8 +23,8 @@ BUILT_SOURCES=cxxsettings-generated.cc rust/src/lib.rs
 #
 # Use patterns to avoid having two instances of generate run simultaneously, a well-known hack for GNU make
 cxxsettings-generated%cc rust/src/lib%rs: table.py generate.py rust-preamble-in.rs rust-bridge-in.rs docs-old-preamble-in.rst docs-new-preamble-in.rst
-       @if test "$(PYTHON)" = ":"; then echo "Settings table table.py has changed, need python to regenerate generated settings files but python was not found"; exit 1; fi
-       @if ! $(PYTHON) --version | grep -q "Python 3"; then echo $(PYTHON) should be at least version 3; exit 1; fi
+       @if test "$(PYTHON)" = ":"; then echo "Settings table table.py has changed, python is needed to regenerate the related settings files but python was not found. Please install python and re-run configure"; exit 1; fi
+       @if ! $(PYTHON) --version | grep -q "Python 3"; then echo $(PYTHON) should be at least version 3. Please install python 3 and re-run configure; exit 1; fi
        $(MAKE) -C rust clean
        (cd ${srcdir} && $(PYTHON) generate.py)