[neon/forks/ubuntu-release-upgrader/Neon/unstable_jammy] debian: run pre-build.sh as part of clean

Harald Sitter null at kde.org
Tue Apr 26 19:20:53 BST 2022


Git commit d19272846a16e37e006c33e721fc2d2400b43466 by Harald Sitter.
Committed on 26/04/2022 at 18:14.
Pushed by sitter into branch 'Neon/unstable_jammy'.

run pre-build.sh as part of clean

this should make sure it gets run before generating a source in neon

in ubuntu this seems to get run via bzr-buildpackage

M  +2    -0    debian/rules

https://invent.kde.org/neon/forks/ubuntu-release-upgrader/commit/d19272846a16e37e006c33e721fc2d2400b43466

diff --git a/debian/rules b/debian/rules
index 0c2818fa..b0eb8873 100755
--- a/debian/rules
+++ b/debian/rules
@@ -22,6 +22,8 @@ override_dh_auto_clean:
 	rm -rf ./build ./DistUpgrade/$(DEBVER) ./DistUpgrade/mo \
 		./DistUpgrade/$(DIST)  ./DistUpgrade/$(DIST).tar.gz \
 		 ./DistUpgrade/ubuntu-drivers-obsolete.pkgs ./po/mo
+	# Pre build on neon CI builds.
+	if [ -e /tooling ]; then ./pre-build.sh; fi
 
 binary: binary-arch binary-indep
 



More information about the Neon-commits mailing list