mirror of
https://git.yoctoproject.org/poky
synced 2026-05-07 16:59:22 +00:00
flac: fix buildpaths warnings
Generated documentation (html) contain absolute paths cources using buildpaths warnings. Replace them with relative links. The file with root path to sources is in my build /usr/share/doc/flac/api/dir_c122f5d6544f32779f55e8358fb78605.html which does not looks as stable name, so replace it in all files. (From OE-Core rev: c7d826c88933d53d550265f1cc382539c5c52994) Signed-off-by: Peter Marko <peter.marko@siemens.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
d6a4522e67
commit
840f9cbe7a
@@ -34,3 +34,10 @@ PACKAGES += "libflac libflac++"
|
||||
FILES:${PN} = "${bindir}/*"
|
||||
FILES:libflac = "${libdir}/libFLAC.so.*"
|
||||
FILES:libflac++ = "${libdir}/libFLAC++.so.*"
|
||||
|
||||
do_install:append() {
|
||||
# make the links in documentation relative to avoid buildpaths reproducibility problem
|
||||
sed -i "s#${S}/include#${includedir}#g" ${D}${docdir}/flac/FLAC.tag ${D}${docdir}/flac/api/*.html
|
||||
# there is also one root path without trailing slash
|
||||
sed -i "s#${S}#/#g" ${D}${docdir}/flac/api/*.html
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user