[Pkg-voip-commits] [sipsak] 13/19: Run «make distclean» gracefully when no Makefile is present

Victor Seva vseva at moszumanska.debian.org
Wed Aug 31 09:07:48 UTC 2016


This is an automated email from the git hooks/post-receive script.

vseva pushed a commit to branch master
in repository sipsak.

commit f15c53344b93129063c12fff03b3e853bc82397f
Author: Guillem Jover <gjover at sipwise.com>
Date:   Mon Jul 4 13:40:19 2016 +0200

    Run «make distclean» gracefully when no Makefile is present
---
 debian/changelog | 1 +
 debian/rules     | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 1669695..aa740d2 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -16,6 +16,7 @@ sipsak (0.9.6-3) UNRELEASED; urgency=medium
   * Fix cross-building by passing the correct --host and/or --build
     combination to configure.
   * Use dh-autoreconf commands to update all autotools files. Closes: #727968
+  * Run «make distclean» gracefully when no Makefile is present.
 
  -- Guillem Jover <gjover at sipwise.com>  Mon, 04 Jul 2016 12:19:42 +0200
 
diff --git a/debian/rules b/debian/rules
index 54ca7f1..47b177d 100755
--- a/debian/rules
+++ b/debian/rules
@@ -45,7 +45,7 @@ clean:
 	dh_testdir
 	dh_testroot
 
-	-$(MAKE) distclean
+	[ ! -f Makefile ] || $(MAKE) distclean
 
 	dh_autoreconf_clean
 	dh_clean

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-voip/sipsak.git



More information about the Pkg-voip-commits mailing list