[neon/qt6/qt6-base/Neon/release] debian: invert the profile testing logic
Carlos De Maine
null at kde.org
Thu May 1 06:32:32 BST 2025
Git commit 9cce8f1ca4630cd72ed54aeb4ad0b0cdb870a3bc by Carlos De Maine.
Committed on 01/05/2025 at 05:32.
Pushed by carlosdem into branch 'Neon/release'.
invert the profile testing logic
M +5 -5 debian/rules
https://invent.kde.org/neon/qt6/qt6-base/-/commit/9cce8f1ca4630cd72ed54aeb4ad0b0cdb870a3bc
diff --git a/debian/rules b/debian/rules
index bc0f694..5918169 100755
--- a/debian/rules
+++ b/debian/rules
@@ -119,21 +119,21 @@ execute_after_dh_auto_install-arch:
sed -i 's,lib/qt6/bin/qtpaths,bin/$(DEB_HOST_GNU_TYPE)-qtpaths6,' \
debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/cmake/Qt6CoreTools/Qt6CoreToolsTargets-relwithdebinfo.cmake
-ifeq ($(filter !nodoc,$(DEB_BUILD_PROFILES)),)
+ifneq ($(filter nodoc,$(DEB_BUILD_PROFILES)),)
override_dh_auto_build-indep:
- dh_auto_build
+ dh_auto_build -- docs
override_dh_auto_install-indep:
DESTDIR=$(CURDIR)/debian/tmp dh_auto_build -- install
+ # Remove build path from index files.
+ find $(CURDIR)/debian/tmp/usr/share/qt6/doc -type f -name *.index -exec \
+ sed -i 's@$(CURDIR)/@@g' {} \;
else
override_dh_auto_build-indep:
dh_auto_build -- docs
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' {} \;
endif
override_dh_makeshlibs:
More information about the Neon-commits
mailing list