Reducing Qt installation directory size

We manually build Qt 4.8.7 here. I am trying to reduce the size of our Qt installation directory as much as possible. One of my strategies is to exclude as much as possible at configure time. For example, this is my configure command:

Is there a way to avoid the docs being generated and copied over to the Qt installation directory? I don't see a -no-docs option at configure time... I could of course manually remove the doc directory after the nmake install, but if I can avoid that it is being created by using the appropriate configure option, that would even be nicer (shorter build times and no need to manually delete afterwards).

Are there any other configure tricks that I can use to reduce the size of my installation directory after an nmake install?

Not an answer to your questions: why do you use -no-sse and -no-sse2? This will not make your binaries smaller but slower.
If you don't need debug information you should not use -debug-and-release, use -release instead.

Not an answer to your questions: why do you use -no-sse and -no-sse2? This will not make your binaries smaller but slower.

One of the target platforms we still have to support is a Windows XP Embedded device with a Geode processor. According to http://wiki.laptop.org/go/Geode_instruction_set it does not fully support SSE nor SSE2. If we did compile with SSE and SSE2, we got "Illegal Instruction" errors at runtime.

If you don't need debug information you should not use -debug-and-release, use -release instead.

@Bart_Vandewoestyne
Yes I forgot that this exists. Anyway, this was a side note and it's not very important. However I still don't get why do you need to reduce the size of your build folder ... you just deploy those dll's that you're actually using, no?

This is a strange thing to do, since Qt guarantees binary compatibility between minor versions, but well, you're free to choose. Unfortunately, I don't see how you could decrease the size further, beside deleting the docs, as the libraries are in the /lib directory and they're the next biggest size. Maybe store only the libs that you're using, i.e. these that you're going to deploy. No point in keeping QtXml if you're not using it, right?