[Pkg-voip-commits] [kamailio] 01/02: save autover.h to allow a clean git build

tzafrir at debian.org tzafrir at debian.org
Mon Feb 24 22:24:29 UTC 2014


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

tzafrir pushed a commit to branch master
in repository kamailio.

commit 8add2414f417e670f1064283f3c7b6143c2fa249
Author: Tzafrir Cohen <tzafrir.cohen at xorcom.com>
Date:   Mon Feb 24 22:19:49 2014 +0200

    save autover.h to allow a clean git build
---
 debian/changelog | 4 ++++
 debian/rules     | 2 ++
 2 files changed, 6 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index e980f0d..a094155 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,8 +1,12 @@
 kamailio (4.1.1-4) UNRELEASED; urgency=low
 
+  [ Victor Seva ]
   * new vars to configure shared and private memory
     and path for the configuration file.
 
+  [ Tzafrir Cohen ]
+  * Save autover.h at clean to allow a clean git buildpackage.
+
  -- Victor Seva <linuxmaniac at torreviejawireless.org>  Mon, 24 Feb 2014 13:11:11 +0200
 
 kamailio (4.1.1-3) unstable; urgency=medium
diff --git a/debian/rules b/debian/rules
index 262eaeb..cb8671c 100755
--- a/debian/rules
+++ b/debian/rules
@@ -135,7 +135,9 @@ clean:
 	dh_testroot
 	rm -f build-stamp configure-stamp
 	# Add here commands to clean up after the build process.
+	if [ -r autover.h -a ! -r debian/autover.h ]; then cp -a autover.h debian/; fi
 	$(MAKE) maintainer-clean
+	if [ -r debian/autover.h -a ! -r autover.h ]; then mv debian/autover.h .; fi
 	dh_clean
 
 install: build

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



More information about the Pkg-voip-commits mailing list