Remove build path from documentation's build path.

This not only breaks reproducible builds but also is useless, as the
build dir might change from submodule to submodule, and it might have a
random path on it.
This commit is contained in:
Lisandro Damián Nicanor Pérez Meyer 2023-07-22 12:57:37 -03:00
parent 594baae72c
commit ec1d82023e
2 changed files with 6 additions and 0 deletions

3
debian/changelog vendored
View File

@ -5,6 +5,9 @@ qt6-base (6.4.2+dfsg-15) UNRELEASED; urgency=medium
[ Eren Eroğlu ]
* Add qt6-base-doc* packages.
[ Lisandro Damián Nicanor Pérez Meyer ]
* Remove build path from documentation's index files.
-- Lisandro Damián Nicanor Pérez Meyer <lisandro@debian.org> Sat, 22 Jul 2023 11:55:09 -0300
qt6-base (6.4.2+dfsg-14) unstable; urgency=medium

3
debian/rules vendored
View File

@ -113,6 +113,9 @@ override_dh_auto_build-indep:
override_dh_auto_install-indep:
DESTDIR=$(CURDIR)/debian/tmp dh_auto_build -- install_docs
# Remove build path from index files.
find $(CURDIR)/debian/tmp/usr/share/qt6/doc -type f -name *.index -exec \
sed -i 's@$(CURDIR)/@@g' {} \;
override_dh_makeshlibs:
dh_makeshlibs -XlibQt6EglFSDeviceIntegration -XlibQt6EglFsKmsGbmSupport -XlibQt6EglFsKmsSupport -XlibQt6XcbQpa