[Python-apps-commits] r746 - in packages/emesene/trunk/debian (rules)

piotr at users.alioth.debian.org piotr at users.alioth.debian.org
Sat Mar 1 23:43:42 UTC 2008


    Date: Saturday, March 1, 2008 @ 23:43:41
  Author: piotr
Revision: 746

parse SVN_REVISION from debian/changelog

Modified:
  packages/emesene/trunk/debian/rules

Modified: packages/emesene/trunk/debian/rules
===================================================================
--- packages/emesene/trunk/debian/rules	2008-03-01 23:42:17 UTC (rev 745)
+++ packages/emesene/trunk/debian/rules	2008-03-01 23:43:41 UTC (rev 746)
@@ -9,7 +9,7 @@
 
 DEB_PYTHON_INSTALL_ARGS_ALL = --install-lib=usr/share/emesene
 
-SVN_REVISION = 1127
+SVN_REVISION = $(shell dpkg-parsechangelog | sed -rne 's,^Version: .*~r([^-]+).*,\1,p')
 
 install/emesene::
 	install -m755 $(CURDIR)/debian/emesene-launcher $(CURDIR)/debian/emesene/usr/bin/emesene
@@ -18,7 +18,7 @@
 clean::
 	rm -rf build
 
-get-orig-source::
+get-orig-source:
 	# Get the source
 	svn export -r $(SVN_REVISION) https://emesene.svn.sourceforge.net/svnroot/emesene/trunk/emesene $(CURDIR)/emesene-1.0~r$(SVN_REVISION)
 




More information about the Python-apps-commits mailing list