[neon/qt6/qt6-tools/Neon/release] debian: move the doc specific logic to inside the if else statement
Carlos De Maine
null at kde.org
Wed Dec 13 01:47:44 GMT 2023
Git commit c849d264ec3ebdb0d3a48377eae1dafd2aad2a05 by Carlos De Maine.
Committed on 13/12/2023 at 02:47.
Pushed by carlosdem into branch 'Neon/release'.
move the doc specific logic to inside the if else statement
M +1 -1 debian/rules
https://invent.kde.org/neon/qt6/qt6-tools/-/commit/c849d264ec3ebdb0d3a48377eae1dafd2aad2a05
diff --git a/debian/rules b/debian/rules
index 49aa938..4f294ae 100755
--- a/debian/rules
+++ b/debian/rules
@@ -42,10 +42,10 @@ ifneq ($(filter nodoc,$(DEB_BUILD_PROFILES)),)
else
echo -e "\nnodoc build profile enabled, therefore installing docs.\n"
DESTDIR=$(CURDIR)/debian/tmp dh_auto_build -- install_docs
-endif
# Remove build path from index files.
find $(CURDIR)/debian/tmp/usr/share/qt6/doc -type f -name *.index -exec \
sed -i 's@$(CURDIR)/@@g' {} \;
+endif
execute_after_dh_auto_install-arch:
# Reproducible builds: remove build paths from .prl files
More information about the Neon-commits
mailing list