[Pkg-voip-commits] [ring] 01/19: draft: Re-create tarballs from tarballs-unpacked

Alexandre Viau aviau at moszumanska.debian.org
Sat Mar 26 16:43:56 UTC 2016


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

aviau pushed a commit to branch master
in repository ring.

commit c3a92f316cf2b40275ac208c9e7b9438919fbd4b
Author: aviau <alexandre at alexandreviau.net>
Date:   Fri Mar 25 21:41:05 2016 -0400

    draft: Re-create tarballs from tarballs-unpacked
---
 debian/rules | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/debian/rules b/debian/rules
index 1d12ef2..a0dcc00 100755
--- a/debian/rules
+++ b/debian/rules
@@ -5,6 +5,18 @@
 	dh $@
 
 override_dh_auto_configure:
+	###############################################
+	## Re-create tarballs from tarballs-unpacked ##
+	###############################################
+	mkdir -p daemon/contrib/tarballs
+
+	# Create tarballs
+	for i in `find daemon/contrib/tarballs-unpacked/`; do \
+		projectname=`basename $$i` && \
+		cd $$i && tar -cf ../tarballs/$$(projectname).tar.gz * && \
+		echo "Repacked $$projectname"; \
+	done
+
 	###########################
 	## Ring Daemon configure ##
 	###########################

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



More information about the Pkg-voip-commits mailing list