[neon/qt6/qbs/Neon/unstable] debian: let ninja sort it out
Carlos De Maine
null at kde.org
Sat Aug 30 03:44:49 BST 2025
Git commit 6e8fcd14f71f5216f28d8a6e1a95d0e8adea3a8f by Carlos De Maine.
Committed on 30/08/2025 at 02:44.
Pushed by carlosdem into branch 'Neon/unstable'.
let ninja sort it out
M +5 -30 debian/rules
https://invent.kde.org/neon/qt6/qbs/-/commit/6e8fcd14f71f5216f28d8a6e1a95d0e8adea3a8f
diff --git a/debian/rules b/debian/rules
index 56d5be2..996155a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -36,47 +36,22 @@ override_dh_auto_configure:
-DQBS_INSTALL_QCH_DOCS=$(if $(filter qbs-doc, $(shell dh_listpackages)),yes,no) \
-GNinja
-override_dh_auto_build-arch:
- ls -lsh /usr/bin/qdoc*
- dh_auto_build -- -C src
-ifeq ($(filter nocheck,$(DEB_BUILD_OPTIONS)),)
- dh_auto_build -- -C share
- dh_auto_build -- -C tests
-endif
-
-override_dh_auto_install-arch:
- ls -lsh /usr/bin/qdoc*
- dh_auto_install -- -C src
- dh_auto_install -- -C doc/man
-
override_dh_auto_build-indep:
ls -lsh /usr/bin/qdoc*
- dh_auto_build --no-parallel -- -C doc
- dh_auto_build -- -C share
+ override_dh_auto_build-indep:
+ dh_auto_build -- docs
override_dh_auto_install-indep:
- dh_auto_install --no-parallel -- -C doc
- dh_auto_install -- -C share
+ DESTDIR=$(CURDIR)/debian/tmp dh_auto_build -- install_docs
execute_after_dh_auto_install:
find debian/tmp -type f -name .gitignore -print -delete
override_dh_auto_test-arch:
-ifeq ($(filter nocheck,$(DEB_BUILD_OPTIONS)),)
- set -ex; \
- export LD_LIBRARY_PATH=$(BUILDPATH)/lib/${DEB_HOST_MULTIARCH}:$$LD_LIBRARY_PATH; \
- export HOME=$(CURDIR)/debian/.debhelper/generated/_source/home; \
- export QBS_AUTOTEST_PROFILE=qbs_autotests; \
- export QBS_AUTOTEST_ALWAYS_LOG_STDOUT=1; \
- export QBS_AUTOTEST_ALWAYS_LOG_STDERR=1; \
- $(BUILDPATH)/bin/qbs-setup-toolchains /usr/bin/gcc gcc; \
- $(BUILDPATH)/bin/qbs-setup-qt /usr/bin/qmake6 qbs_autotests; \
- [ -n "`$(BUILDPATH)/bin/qbs-config --list profiles.qbs_autotests.baseProfile`" ] || \
- $(BUILDPATH)/bin/qbs-config profiles.qbs_autotests.baseProfile gcc; \
- LC_ALL=C.UTF-8 dh_auto_test --max-parallel=1
-endif
+ :
override_dh_auto_test-indep:
+ :
override_dh_compress:
dh_compress --exclude=.qch
More information about the Neon-commits
mailing list