[Pkg-voip-commits] [mediastreamer2] 03/09: Remove unneeded script mkdeb.sh
Dr. Tobias Quathamer
toddy at debian.org
Thu Nov 16 22:06:41 UTC 2017
This is an automated email from the git hooks/post-receive script.
toddy pushed a commit to branch master
in repository mediastreamer2.
commit 5a864f07281d47c79e4646557a6b5965cedd75be
Author: Dr. Tobias Quathamer <toddy at debian.org>
Date: Wed Nov 15 16:50:59 2017 +0100
Remove unneeded script mkdeb.sh
---
debian/mkdeb.sh | 67 ---------------------------------------------------------
1 file changed, 67 deletions(-)
diff --git a/debian/mkdeb.sh b/debian/mkdeb.sh
deleted file mode 100644
index 171ec9f..0000000
--- a/debian/mkdeb.sh
+++ /dev/null
@@ -1,67 +0,0 @@
-#!/bin/sh
-
-deb_cur_version ()
-{
- dpkg-parsechangelog -c1 | sed -rne 's,^Version: ([^-]+).*,\1,p' | sed 's/.*://'
-}
-
-deb_package ()
-{
- dpkg-parsechangelog -c1 | sed -rne 's,^Source: (.*),\1,p'
-}
-
-
-conf_version ()
-{
- grep -r "AC_INIT" configure.ac | head -n1 |cut -d\[ -f2 | sed 's/\].*//'
-}
-
-# tag-offsetghash
-git_version ()
-{
- git describe | awk '{split($0,c,"-"); print c[1]"-"c[2]c[3]}'
-}
-
-buildversion ()
-{
-
-}
-
-builddeb ()
-{
-[ ! -f configure ] && ./autogen.sh
-[ ! -f Makefile ] && ./configure
-
-PACKAGE=`deb_package`
-CUR_VERSION=`deb_cur_version`
-
-if [ -d .git ]
-then
- [ ! -x git ] && echo "install git" && exit -1
- NEXT_VERSION=`git_version`
-else
- NEXT_VERSION=`conf_version`
-fi
-
-grep "`echo $NEXT_VERSION | sed 's/\./\\\./g'`" debian/changelog
-if [ $? -gt 0 ]
-then
- dch --newversion 1:$NEXT_VERSION -m "New version"
-fi
-
-make dist
-rm -rf build-debian
-mkdir -p build-debian
-mv $(distdir).tar.gz build-debian/$(PACKAGE)_$(VERSION).orig.tar.gz
-cd build-debian && tar -xvzf $(PACKAGE)_$(VERSION).orig.tar.gz
-cd build-debian/$(PACKAGE)-$(VERSION) && DEB_BUILD_OPTIONS="nostrip debug" dpkg-buildpackage -us -uc
-
-
-
-}
-if [ "Xdeb" = "X$1 ]
-then
- rm -rf build-deb
- cp -
-
-fi
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-voip/mediastreamer2.git
More information about the Pkg-voip-commits
mailing list