[neon/backports-jammy/libsignon-glib/Neon/unstable] debian: lintian suggested a better solution for dealing with cleaning if there is no Makefile

Diane Trout null at kde.org
Thu Jun 22 01:30:34 BST 2023


Git commit dfe751900c8a4d6797aa20d1ac9b306137c9dfc1 by Diane Trout.
Committed on 12/09/2015 at 05:02.
Pushed by carlosdem into branch 'Neon/unstable'.

lintian suggested a better solution for dealing with cleaning if there is no Makefile

M  +1    -1    debian/rules

https://invent.kde.org/neon/backports-jammy/libsignon-glib/-/commit/dfe751900c8a4d6797aa20d1ac9b306137c9dfc1

diff --git a/debian/rules b/debian/rules
index 2e27771..9c7a3d3 100755
--- a/debian/rules
+++ b/debian/rules
@@ -21,5 +21,5 @@ override_dh_strip:
 	dh_strip --dbg-package=libsignon-glib-dbg
 
 override_dh_clean:
-	-make distclean
+	[ ! -f Makefile ] || $(MAKE) distclean
 	dh_clean



More information about the Neon-commits mailing list