[neon/qt6/qt6-quick3dphysics/Neon/release] debian: cludge it

Carlos De Maine null at kde.org
Mon Oct 28 06:43:10 GMT 2024


Git commit f41ce07c9be8ab1f6aa306f68eacdafd6a74b855 by Carlos De Maine.
Committed on 28/10/2024 at 06:43.
Pushed by carlosdem into branch 'Neon/release'.

cludge it

(cherry picked from commit ab8f6327a4398812fcc965adfb467981e76ffbf0)

M  +12   -1    debian/rules

https://invent.kde.org/neon/qt6/qt6-quick3dphysics/-/commit/f41ce07c9be8ab1f6aa306f68eacdafd6a74b855

diff --git a/debian/rules b/debian/rules
index 97edbfe..04f7912 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,11 +1,22 @@
 #!/usr/bin/make -f
-#export DH_VERBOSE = 1
+export DH_VERBOSE = 1
 
 # Use already defined DEB_HOST_* variables.
 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
+
+ifeq (,$(filter nodoc,$(DEB_BUILD_PROFILES)),)
+override_dh_auto_build-indep:
+	dh_auto_build
+
+override_dh_auto_install-indep:
+	DESTDIR=$(CURDIR)/debian/tmp dh_auto_build -- install
+endif
+
 # QT_HOST_PATH isn't passed in cross-builds
 ifneq ($(DEB_BUILD_ARCH),$(DEB_HOST_ARCH))
 	cmake_extra_args += \


More information about the Neon-commits mailing list