[neon/extras/qcoro/Neon/release] debian: rules: use execute_after_* targets
Pino Toscano
null at kde.org
Wed May 4 12:31:29 BST 2022
Git commit ae23f8ede4dda8728947e253eb9d5ff15df0a033 by Pino Toscano.
Committed on 16/04/2022 at 10:34.
Pushed by jriddell into branch 'Neon/release'.
rules: use execute_after_* targets
M +2 -0 debian/changelog
M +2 -4 debian/rules
https://invent.kde.org/neon/extras/qcoro/commit/ae23f8ede4dda8728947e253eb9d5ff15df0a033
diff --git a/debian/changelog b/debian/changelog
index d7cea8b..3de41fe 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -7,6 +7,8 @@ qcoro (0.4.0-5) UNRELEASED; urgency=medium
as nothing is done with them.
* Remove the unused ${shlibs:Depends} substvar from qcoro-doc, qcoro-qt5-dev,
and qcoro-qt6-dev.
+ * Use execute_after_dh_auto_clean & xecute_after_dh_install-indep instead of
+ manually calling dh_auto_clean & dh_install.
-- Debian KDE Extras Team <pkg-kde-extras at lists.alioth.debian.org> Sat, 16 Apr 2022 12:18:23 +0200
diff --git a/debian/rules b/debian/rules
index e2f1e82..2020c48 100755
--- a/debian/rules
+++ b/debian/rules
@@ -8,8 +8,7 @@ CMAKE_ARGS = -DBUILD_SHARED_LIBS=ON -DQCORO_BUILD_EXAMPLES=OFF
%:
dh $@ --with pkgkde_symbolshelper
-override_dh_auto_clean:
- dh_auto_clean
+execute_after_dh_auto_clean:
rm -rf build-Qt6
override_dh_auto_configure:
@@ -24,8 +23,7 @@ override_dh_auto_install:
dh_auto_install
dh_auto_install --builddirectory=build-Qt6
-override_dh_install-indep:
- dh_install
+execute_after_dh_install-indep:
rm debian/qcoro-doc/usr/share/doc/qcoro-doc/docs/changelog.md
rm -r debian/qcoro-doc/usr/share/doc/qcoro-doc/docs/about
rm -r debian/qcoro-doc/usr/share/doc/qcoro-doc/docs/overrides
More information about the Neon-commits
mailing list