[Pkg-voip-commits] r6118 - /opal/branches/experimental/debian/rules

dedu-guest at alioth.debian.org dedu-guest at alioth.debian.org
Sun Aug 31 13:49:11 UTC 2008


Author: dedu-guest
Date: Sun Aug 31 13:49:11 2008
New Revision: 6118

URL: http://svn.debian.org/wsvn/pkg-voip/?sc=1&rev=6118
Log:
Use variable instead of revision in several places.

Modified:
    opal/branches/experimental/debian/rules

Modified: opal/branches/experimental/debian/rules
URL: http://svn.debian.org/wsvn/pkg-voip/opal/branches/experimental/debian/rules?rev=6118&op=diff
==============================================================================
--- opal/branches/experimental/debian/rules (original)
+++ opal/branches/experimental/debian/rules Sun Aug 31 13:49:11 2008
@@ -239,6 +239,7 @@
 	@@echo "Debian version:          $(DEBVERSION)"
 	@@echo "Upstream version:        $(UPVERSION)"
 
+REV=20797
 get-orig-source:
 	@@dh_testdir
 	@@[ -d ../tarballs/. ]||mkdir -p ../tarballs
@@ -258,12 +259,12 @@
 	#@@$(RM) -rf ../tarballs/opal-$(UPVERSION).tmp/ ../tarballs/$(UPFILENAME)
 	#and this is for SVN
 	@@echo Checking out for repacking (might take 15 min) ...
-	@@svn co https://opalvoip.svn.sourceforge.net/svnroot/opalvoip/opal/trunk opal at 20797 ../tarballs/opal-20797.tmp
+	@@svn co https://opalvoip.svn.sourceforge.net/svnroot/opalvoip/opal/trunk opal@$(REV) ../tarballs/opal-$(REV).tmp
 	@@echo Getting the changelog (might take 15 min) ...
-	@@cd ../tarballs/opal-20797.tmp; svn2cl -o changelog
+	@@cd ../tarballs/opal-$(REV).tmp; svn2cl -o changelog
 	@@echo Creating the tarball ...
-	@@cd ../tarballs/opal-20797.tmp; find . -name .svn -exec rm -rf {} \; ; tar zcf ../opal.orig.tar.gz *
-	@@rm -rf ../tarballs/opal-20797.tmp
+	@@cd ../tarballs/opal-$(REV).tmp; find . -name .svn -exec rm -rf {} \; ; tar zcf ../opal.orig.tar.gz *
+	@@rm -rf ../tarballs/opal-$(REV).tmp
 	@@echo Ready for packaging.
 
 binary: binary-arch binary-indep




More information about the Pkg-voip-commits mailing list