swig: Added HEAD version support.

yodl is needed to build man files (#26023).