mirror of
https://git.yoctoproject.org/poky
synced 2026-01-29 21:08:42 +01: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: 860d4d6b54f61342f925ea522f9962555ae5d8ac) Signed-off-by: Peter Marko <peter.marko@siemens.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit c7d826c88933d53d550265f1cc382539c5c52994) Signed-off-by: Steve Sakoman <steve@sakoman.com>
This commit is contained in:
committed by
Steve Sakoman
parent
b02ed677ce
commit
219e85cc07
@@ -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