changeset 32432:1522fac67d56

make the packaged binaries identify themselves properly
author siretart
date Tue, 19 Oct 2010 15:48:51 +0000
parents a116d0fcea6e
children 520d72f61c8c
files debian/daily-build.sh debian/rules
diffstat 2 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/debian/daily-build.sh	Tue Oct 19 12:56:41 2010 +0000
+++ b/debian/daily-build.sh	Tue Oct 19 15:48:51 2010 +0000
@@ -14,6 +14,8 @@
 test -r debian/control || exit 1
 
 rm debian/changelog
+echo $version > snapshot_version
 dch --create --empty --package mplayer -v 2:1.0~svn${version} "Daily build"
 
 dpkg-buildpackage -us -uc -i -I.svn "$@"
+rm -f snapshot_version
--- a/debian/rules	Tue Oct 19 12:56:41 2010 +0000
+++ b/debian/rules	Tue Oct 19 15:48:51 2010 +0000
@@ -155,7 +155,6 @@
 	-test ! -f config.mak || ( $(MAKE) -C DOCS/xml releaseclean ; $(MAKE) distclean )
 	# in case the previous command fails for some reason, remove 'svn ignored' files
 	rm -rf DOCS/HTML DOCS/HTML-single DOCS/codecs-status.html
-	dh_clean snapshot_version
 
 # Build architecture-independent packages
 binary-indep: install-indep