Building CMake with CMake: what about modules ?

Thinking to contribute I was looking to get a local build running. Relying on GitHub - Kitware/CMake: Mirror of CMake upstream repository I’m able to get cmake application what’s good start already.
Now how can I issue a cmake install package including Modules ?
Thanks for tips !

Do you want an install tree or an install package?

Install tree sounds good already to me.

Any help welcome.

So what are you looking for? Is cmake --build . --target install not sufficient? If so, what is missing?