mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-13 07:21:13 -03:00
Man pages used to be built by "build.rs" but now are built by a dependent "crates/build-man-pages/build.rs". This means that changing the environment of build.rs is ineffective. In future, "fn get_version" should probably be a part of "crates/build-helper/", so Cargo builds only need to compute the version once. Lack of this dependency means that "build-man-pages" does not pass FISH_BUILD_VERSION, which means that Sphinx will fall back to build_tools/git_version_gen.sh. This acceptable for now given that "build-man-pages" is not used in CMake builds.