Generate online manual when building the binary package, refactor the build procedure