Generating stdlib

I am trying to generate the stdlib using GenerateStdLib.kt, but I am not sure how to do that.  Is it done automaticlaly by maven? Must I do it manually?

I was able to do this by creating a new IDEA project based only on kotlin-stdlib-gen, I suspect this is not the regular solution.

UPDATE:  The documentation for doing this is right here : https://github.com/JetBrains/kotlin/blob/master/libraries/stdlib/ReadMe.md

I don’t know how I missed that.