[neon/qt6/qt6-shadertools/Neon/release] debian: prepare to support nodoc bootstrapping
Carlos De Maine
null at kde.org
Fri Dec 15 14:22:18 GMT 2023
Git commit b1fc125e82bb3e2ea980e5608425f8e0700eb403 by Carlos De Maine.
Committed on 15/12/2023 at 15:21.
Pushed by carlosdem into branch 'Neon/release'.
prepare to support nodoc bootstrapping
M +4 -3 debian/control
M +1 -1 debian/qt6-shadertools-doc.install
M +14 -6 debian/rules
https://invent.kde.org/neon/qt6/qt6-shadertools/-/commit/b1fc125e82bb3e2ea980e5608425f8e0700eb403
diff --git a/debian/control b/debian/control
index d2d889e..02ccbab 100644
--- a/debian/control
+++ b/debian/control
@@ -17,9 +17,9 @@ Build-Depends: cmake,
qt6-base-dev (>= 6.6.1~),
qt6-shader-baker <cross>,
qt6-shadertools-dev:native <cross>
-#Build-Depends-Indep: qt6-base-dev (>= 6.6~) <!nodoc>,
-# qt6-documentation-tools (>= 6.6~) <!nodoc>,
-# qt6-base-doc (>= 6.6~) <!nodoc>,
+Build-Depends-Indep: qt6-base-dev (>= 6.6~) <!nodoc>,
+ qt6-documentation-tools (>= 6.6~) <!nodoc>,
+ qt6-base-doc (>= 6.6~) <!nodoc>,
Standards-Version: 4.6.2
Homepage: https://www.qt.io/developers/
Rules-Requires-Root: no
@@ -55,6 +55,7 @@ Description: Qt 6 shader tools module - development files
Package: qt6-shadertools-doc
Architecture: all
+Build-Profile: <!nodoc>
Section: kde
X-Neon-MergedPackage: true
Depends: qt6-base-doc,
diff --git a/debian/qt6-shadertools-doc.install b/debian/qt6-shadertools-doc.install
index 36c01e0..8536ff4 100644
--- a/debian/qt6-shadertools-doc.install
+++ b/debian/qt6-shadertools-doc.install
@@ -1 +1 @@
-#usr/share/qt6/doc/
+usr/share/qt6/doc/
diff --git a/debian/rules b/debian/rules
index cf360bb..7558577 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,6 +1,8 @@
#!/usr/bin/make -f
export DH_VERBOSE = 1
+export PANGEA_ARCH_BIN_ONLY=FALSE
+
# Use already defined DEB_HOST_* variables.
include /usr/share/dpkg/architecture.mk
@@ -29,16 +31,22 @@ override_dh_auto_configure:
-DQT_UNITY_BUILD=ON \
$(cmake_extra_args)
+ifneq ($(filter neon_nodoc,$(DEB_BUILD_PROFILES)),)
override_dh_auto_build-indep:
-# dh_auto_build -- docs
- dh_auto_build
+ dh_auto_build -- docs
override_dh_auto_install-indep:
- DESTDIR=$(CURDIR)/debian/tmp dh_auto_build
-# DESTDIR=$(CURDIR)/debian/tmp dh_auto_build -- install_docs
+ 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' {} \;
+ 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
+
+override_dh_auto_install-indep:
+ DESTDIR=$(CURDIR)/debian/tmp dh_auto_build -- install
+endif
execute_after_dh_auto_install-arch:
# Reproducible builds: remove build paths from .prl files
More information about the Neon-commits
mailing list