Adjust build script to build documentation only once This patch removes the ALL option from the documentation build command so that it must be run manually with "make doc". This prevents the documentation being built twice (normal build + install phase). It also allows the documentation building to happen after the code building, which makes the logs much more readable in parallel builds.
Override SFML_DOC_PATH in SFMLConfig.cmake The existing detection assumes the documentation is installed in /usr/share/doc/SFML, but we install it into /usr/share/doc/libsfml-dev.
Remove *.private fields from pkg-config files This avoids unnecessary dependencies which are only needed when building static libraries. It also removes the unused dependency on glu.