[med-svn] [SCM] bamtools branch, debian, updated. dfa10f420b3c35bc535acfeb7b7e16c7dac87721

Michael R. Crusoe michael.crusoe at gmail.com
Thu Nov 8 11:02:13 UTC 2012


The following commit has been merged in the debian branch:
commit dfa10f420b3c35bc535acfeb7b7e16c7dac87721
Author: Michael R. Crusoe <michael.crusoe at gmail.com>
Date:   Thu Nov 8 04:01:54 2012 -0700

    Move get-orig-source inside debian/rules

diff --git a/debian/get-orig-source b/debian/get-orig-source
deleted file mode 100755
index 8c0d7e4..0000000
--- a/debian/get-orig-source
+++ /dev/null
@@ -1,14 +0,0 @@
-#!/bin/bash
-
-TOPDIR=`mktemp --tmpdir=. --directory`
-DIR=${TOPDIR}/bamtools-2.2
-mkdir -p ${DIR}
-git clone git://github.com/pezmaster31/bamtools.git ${DIR}
-cd ${DIR}
-git checkout bafc03f4ed7ed9ff1b3fb24874dc8a4a6d58e605
-rm -R src/third_party
-cd ..
-tar czf ../bamtools_2.2.orig.tar.gz --exclude \.git bamtools-2.2
-cd ..
-rm -Rf ${TOPDIR}
-
diff --git a/debian/rules b/debian/rules
index 678fd9a..65cf67a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -19,5 +19,12 @@ ORIG=${SOURCEPKG}_${UPSTREAM}.orig.tar.gz
 describe-current-version:
 	git describe --tags upstream | sed 's,^release-,,;s,-,+,;s,-,~,;'
 
+TOPDIR=get-orig-source
+DIR=${TOPDIR}/bamtools-2.2
+
 get-orig-source:
-	
+	mkdir -p ${DIR}
+	git clone git://github.com/pezmaster31/bamtools.git ${DIR}
+	( cd ${DIR}; git checkout bafc03f4ed7ed9ff1b3fb24874dc8a4a6d58e605; rm -R src/third_party; cd ..; tar czf ../bamtools_2.2.orig.tar.gz --exclude \.git bamtools-2.2 )
+	rm -Rf ${TOPDIR}
+

-- 
debian packaging for bamtools



More information about the debian-med-commit mailing list