1421404d42
This is supposed to shareDocName to a fallback value if it can't be determined from looking at the configure script. But the conditional checked whether shareDocName was set, rather than if it wasn't. This meant that if shareDocName had been detected from a configure script, it would be immediately overridden by the package name, and if it couldn't be detected, shareDocName would remain unset. This resulted in QEMU installing files like $out/share/doc/index.html, which should of course have been in $out/share/doc/qemu/index.html. An interesting side effect of this is that, since 9f8751528cd89d343258dd718afa56f8590917bb when this code was added, the detected package name has never actually been used for installing documentation, because it would always be overridden. So this patch will actually enable that for the first time, four years later. Fixes: https://github.com/NixOS/nixpkgs/issues/90486 |
||
---|---|---|
.. | ||
audit-blas.sh | ||
audit-tmpdir.sh | ||
auto-patchelf.sh | ||
autoreconf.sh | ||
breakpoint-hook.sh | ||
compress-man-pages.sh | ||
die.sh | ||
enable-coverage-instrumentation.sh | ||
find-xml-catalogs.sh | ||
fix-darwin-dylib-names.sh | ||
gog-unpack.sh | ||
install-shell-files.sh | ||
keep-build-tree.sh | ||
ld-is-cc-hook.sh | ||
make-coverage-analysis-report.sh | ||
make-symlinks-relative.sh | ||
make-wrapper.sh | ||
move-docs.sh | ||
move-lib64.sh | ||
move-sbin.sh | ||
multiple-outputs.sh | ||
patch-shebangs.sh | ||
prune-libtool-files.sh | ||
role.bash | ||
separate-debug-info.sh | ||
set-java-classpath.sh | ||
set-source-date-epoch-to-latest.sh | ||
setup-debug-info-dirs.sh | ||
shorten-perl-shebang.sh | ||
strip.sh | ||
update-autotools-gnu-config-scripts.sh | ||
use-old-cxx-abi.sh | ||
validate-pkg-config.sh | ||
win-dll-link.sh | ||
wrap-gapps-hook.sh |