[neon/qt6/qt6-positioning/Neon/release] debian: no doc rules as well
Carlos De Maine
null at kde.org
Tue Apr 30 01:48:06 BST 2024
Git commit 8d1f6fc34349c16ab82406439862142f57883e45 by Carlos De Maine.
Committed on 30/04/2024 at 00:47.
Pushed by carlosdem into branch 'Neon/release'.
no doc rules as well
M +14 -5 debian/rules
https://invent.kde.org/neon/qt6/qt6-positioning/-/commit/8d1f6fc34349c16ab82406439862142f57883e45
diff --git a/debian/rules b/debian/rules
index ad6cc4e..c90a5f2 100755
--- a/debian/rules
+++ b/debian/rules
@@ -19,14 +19,23 @@ override_dh_auto_configure:
-DQT_UNITY_BUILD=ON \
$(extra_cmake_args)
+#ifneq ($(filter nodoc,$(DEB_BUILD_PROFILES)),)
+#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' {} \;
+
+#else
override_dh_auto_build-indep:
- dh_auto_build -- docs
+ dh_auto_build
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' {} \;
+ 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