[neon/qt6/qt6-location/Neon/release] debian: setup doc builds

Carlos De Maine null at kde.org
Mon Oct 28 00:26:59 GMT 2024


Git commit 7e04ca3f8bb3e9680867a0798cd0eed55642116b by Carlos De Maine.
Committed on 28/10/2024 at 00:26.
Pushed by carlosdem into branch 'Neon/release'.

setup doc builds

M  +5    -2    debian/rules

https://invent.kde.org/neon/qt6/qt6-location/-/commit/7e04ca3f8bb3e9680867a0798cd0eed55642116b

diff --git a/debian/rules b/debian/rules
index 54d2c7b..cd11911 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,6 +3,9 @@ include /usr/share/dpkg/architecture.mk
 
 export DEB_BUILD_MAINT_OPTIONS = hardening=+all optimize=+lto
 
+#### uncomment when bootstrapping a new qt release ####
+#export DEB_BUILD_PROFILES := ${DEB_BUILD_PROFILES} nodoc
+
 # QT_HOST_PATH isn't passed in cross-builds
 ifneq ($(DEB_BUILD_ARCH),$(DEB_HOST_ARCH))
 	extra_cmake_args += -DQT_HOST_PATH=/usr
@@ -19,7 +22,7 @@ override_dh_auto_configure:
 		-DQT_UNITY_BUILD=ON \
 		$(extra_cmake_args)
 
-ifneq ($(filter nodoc,$(DEB_BUILD_PROFILES)),)
+ifeq ($(filter nodoc,$(DEB_BUILD_PROFILES)),)
 override_dh_auto_build-indep:
 	dh_auto_build -- docs
 
@@ -27,7 +30,7 @@ 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' {} \;
+                sed -i 's@$(CURDIR)/@@g' {} \;
 else
 override_dh_auto_build-indep:
 	dh_auto_build


More information about the Neon-commits mailing list