doc/make-index.sh: use "cylc --version" ...

... to generate the version string.

This allows the script to be used in any arbitrary tar ball of cylc.