[Pkg-voip-commits] r6117 - /pwlib/branches/experimental/debian/rules
dedu-guest at alioth.debian.org
dedu-guest at alioth.debian.org
Sun Aug 31 13:48:48 UTC 2008
Author: dedu-guest
Date: Sun Aug 31 13:48:47 2008
New Revision: 6117
URL: http://svn.debian.org/wsvn/pkg-voip/?sc=1&rev=6117
Log:
Use variable instead of revision in several places.
Modified:
pwlib/branches/experimental/debian/rules
Modified: pwlib/branches/experimental/debian/rules
URL: http://svn.debian.org/wsvn/pkg-voip/pwlib/branches/experimental/debian/rules?rev=6117&op=diff
==============================================================================
--- pwlib/branches/experimental/debian/rules (original)
+++ pwlib/branches/experimental/debian/rules Sun Aug 31 13:48:47 2008
@@ -302,6 +302,7 @@
@@echo "Debian version: $(DEBVERSION)"
@@echo "Upstream version: $(UPVERSION)"
+REV=20797
get-orig-source:
@@dh_testdir
@@[ -d ../tarballs/. ]||mkdir -p ../tarballs
@@ -310,12 +311,12 @@
#@@wget -N -nv -T10 -t3 -O ../tarballs/$(FILENAME) $(URL)
#and this is for SVN
@@echo Checking out for repacking (might take 15 min) ...
- @@svn co https://opalvoip.svn.sourceforge.net/svnroot/opalvoip/ptlib/trunk@20797 ../tarballs/ptlib-20797.tmp
+ @@svn co https://opalvoip.svn.sourceforge.net/svnroot/opalvoip/ptlib/trunk@$(REV) ../tarballs/ptlib-$(REV).tmp
@@echo Getting the changelog (might take 15 min) ...
- @@cd ../tarballs/ptlib-20797.tmp; svn2cl -o changelog
+ @@cd ../tarballs/ptlib-$(REV).tmp; svn2cl -o changelog
@@echo Creating the tarball ...
- @@cd ../tarballs/ptlib-20797.tmp; find . -name .svn -exec rm -rf {} \; ; tar zcf ../ptlib.orig.tar.gz *
- @@rm -rf ../tarballs/ptlib-20797.tmp
+ @@cd ../tarballs/ptlib-$(REV).tmp; find . -name .svn -exec rm -rf {} \; ; tar zcf ../ptlib.orig.tar.gz *
+ @@rm -rf ../tarballs/ptlib-$(REV).tmp
@@echo Ready for packaging.
binary: binary-arch binary-indep
More information about the Pkg-voip-commits
mailing list