[Pkg-voip-commits] [sipsak] 08/19: Add build-indep and build-arch targets to debian/rules
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 5bcfb4483af81e1d4a791d62ee17a0909d3d1b95
Author: Guillem Jover <gjover at sipwise.com>
Date: Mon Jul 4 12:56:51 2016 +0200
Add build-indep and build-arch targets to debian/rules
Stop using a stamp file.
---
debian/changelog | 2 ++
debian/rules | 21 +++++++++++----------
2 files changed, 13 insertions(+), 10 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index e95e8a5..4d75fc7 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -9,6 +9,8 @@ sipsak (0.9.6-3) UNRELEASED; urgency=medium
* Switch to a machine readable debian/copyright file.
* Use github.com as the project page in debian/control and debian/watch.
* Switch to source format 3.0 (quilt).
+ * Add build-indep and build-arch targets to debian/rules, and stop using a
+ stamp file.
-- Guillem Jover <gjover at sipwise.com> Mon, 04 Jul 2016 12:19:42 +0200
diff --git a/debian/rules b/debian/rules
index 3c37cb8..94d735e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -29,19 +29,17 @@ config.status: configure
--mandir=\$${prefix}/share/man \
--infodir=\$${prefix}/share/info
-build: build-stamp
-
-build-stamp: config.status
+build-indep:
+build-arch: config.status
dh_testdir
$(MAKE)
- touch build-stamp
+build: build-indep build-arch
clean:
dh_testdir
dh_testroot
- rm -f build-stamp
-$(MAKE) distclean
ifneq "$(wildcard /usr/share/misc/config.sub)" ""
@@ -51,9 +49,11 @@ ifneq "$(wildcard /usr/share/misc/config.guess)" ""
cp -f /usr/share/misc/config.guess config.guess
endif
- dh_clean
+ dh_clean
+
+.PHONY: build-indep build-arch build clean
-install: build
+install-arch: build-arch
dh_testdir
dh_testroot
dh_prep
@@ -61,10 +61,10 @@ install: build
$(MAKE) install DESTDIR=$(CURDIR)/debian/sipsak
-binary-indep: build install
+binary-indep: build-indep
# We have nothing to do by default.
-binary-arch: build install
+binary-arch: install-arch
dh_testdir
dh_testroot
dh_installchangelogs ChangeLog
@@ -83,4 +83,5 @@ binary-arch: build install
dh_builddeb
binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install
+
+.PHONY: install-arch binary-indep binary-arch binary
--
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