[SCM] bs1770gain/master: Override dh_auto_clean, not dh_clean, to get clean target working.
pere at users.alioth.debian.org
pere at users.alioth.debian.org
Tue Jun 2 12:44:49 UTC 2015
The following commit has been merged in the master branch:
commit 2239b1e2a2251224821739f09a56d910d8dee14e
Author: Petter Reinholdtsen <pere at hungry.com>
Date: Tue Jun 2 12:44:29 2015 +0000
Override dh_auto_clean, not dh_clean, to get clean target working.
diff --git a/debian/rules b/debian/rules
index 79c919a..4f3ca78 100755
--- a/debian/rules
+++ b/debian/rules
@@ -16,9 +16,9 @@ override_dh_autoreconf:
override_dh_autoreconf_clean:
dh_autoreconf_clean
if [ -f configure.orig ] ; then cp configure.orig configure; fi
-override_dh_clean:
- $(MAKE) distclean || true
- dh_clean
+override_dh_auto_clean:
+ if [ -f Makefile.am ] && [ -f Makefile ]; then $(MAKE) distclean || true; fi
+ #dh_auto_clean
$(RM) *.in */*.in */*.la
$(RM) aclocal.m4 ar-lib compile config.guess config.sub depcomp install-sh
$(RM) libtool ltmain.sh missing
--
bs1770gain packaging
More information about the pkg-multimedia-commits
mailing list