build(gen_vimdoc): print user's doxygen version if it's too old

@theHamsta suggested in
https://github.com/neovim/neovim/pull/18348#discussion_r862594173 to
also print the users doxygen version if the version is too old.
This commit is contained in:
Dundar Goc 2022-05-02 11:14:34 +02:00
parent 649cdc14ba
commit 59162584b1

View File

@ -63,7 +63,8 @@ doxygen_version = tuple([int(i) for i in subprocess.check_output(["doxygen", "-v
universal_newlines=True).split()[0].split('.')])
if doxygen_version < MIN_DOXYGEN_VERSION:
print("requires Doxygen {}.{}.{}+".format(*MIN_DOXYGEN_VERSION))
print("\nRequires doxygen {}.{}.{}+".format(*MIN_DOXYGEN_VERSION))
print("Your doxygen version is {}.{}.{}\n".format(*doxygen_version))
sys.exit(1)
# DEBUG = ('DEBUG' in os.environ)