[Pkg-jed-commit] r648 - slxfig/trunk/debian
Rafael Laboissiere
rafael at alioth.debian.org
Mon Apr 30 22:07:41 UTC 2007
Author: rafael
Date: 2007-04-30 22:07:40 +0000 (Mon, 30 Apr 2007)
New Revision: 648
Modified:
slxfig/trunk/debian/rules
Log:
Use more make variables in get-orig-source rule
Modified: slxfig/trunk/debian/rules
===================================================================
--- slxfig/trunk/debian/rules 2007-04-30 21:57:41 UTC (rev 647)
+++ slxfig/trunk/debian/rules 2007-04-30 22:07:40 UTC (rev 648)
@@ -4,12 +4,15 @@
include /usr/share/cdbs/1/class/autotools.mk
include /usr/share/cdbs/1/rules/simple-patchsys.mk
-upstreamsvn = http://opensvn.csie.org/jedsoft/slxfig/trunk/
+pkg = slxfig
+ver = 0
+svn = http://opensvn.csie.org/jedsoft/slxfig/trunk/
get-orig-source:
- SVNREV=$$(svn info $(upstreamsvn) | grep Rev: | cut -f4 -d\ ) ; \
- svn export -r$$SVNREV $(upstreamsvn) slxfig-0~svn.$$SVNREV ; \
- tar czf slxfig_0~svn.$$SVNREV.orig.tar.gz slxfig-0~svn.$$SVNREV
+ SVNREV=$$(svn info $(svn) | grep Rev: | cut -f4 -d\ ) ; \
+ svn export -r$$SVNREV $(svn) $(pkg)-0~svn.$$SVNREV ; \
+ tar czf $(pkg)_$(ver)~svn.$$SVNREV.orig.tar.gz \
+ $(pkg)-$(ver)~svn.$$SVNREV
build/slang-xfig::
# Run examples
More information about the Pkg-jed-commit
mailing list