1
0
mirror of synced 2026-01-26 19:51:56 +00:00

Set release version to 4.2rc1 and generate debian package version with ~ from it

Also do not tidy or modify Emacs' *~ backup files.
This commit is contained in:
Axel Beckert
2010-03-10 21:29:14 +01:00
parent de31b27c9d
commit b66263df67
11 changed files with 16 additions and 15 deletions

View File

@@ -14,7 +14,8 @@
#
TMP ?= /tmp
DIST_PREFIX = ${TMP}
VERSION = 4.2~rc1
VERSION = 4.2rc1
DEBVERSION = $(shell echo $(VERSION)|sed 's/\(rc\|pre\|beta\|alpha\)/~\1/')
BASE = xen-tools
@@ -230,8 +231,8 @@ release: tidy fixup-perms update-version update-modules clean changelog
# Make a new orig.tar.gz for the Debian package
#
orig-tar-gz: release
mv $(BASE)-$(VERSION).tar.gz ../$(BASE)_$(VERSION).orig.tar.gz
mv $(BASE)-$(VERSION).tar.gz.asc ../$(BASE)_$(VERSION).orig.tar.gz.asc
mv $(BASE)-$(VERSION).tar.gz ../$(BASE)_$(DEBVERSION).orig.tar.gz
mv $(BASE)-$(VERSION).tar.gz.asc ../$(BASE)_$(DEBVERSION).orig.tar.gz.asc
#
@@ -254,7 +255,7 @@ test-verbose:
#
tidy:
if [ -x /usr/bin/perltidy ]; then \
for i in bin/*-*; do \
for i in bin/*-*[^~]; do \
echo "tidying $$i"; \
perltidy $$i \
; done \
@@ -307,4 +308,4 @@ update-modules:
# at the top of this file. Steve-Specific?
#
update-version:
perl -pi.bak -e "s/RELEASE = '[0-9]\.[0-9]';/RELEASE = '${VERSION}';/g" bin/*-*
perl -pi.bak -e "s/RELEASE = '[0-9]\.[0-9][^']*';/RELEASE = '${VERSION}';/g" bin/*-*[^~]

View File

@@ -665,7 +665,7 @@ my $FAIL = 0;
#
# Release number.
#
my $RELEASE = '4.2~rc1';
my $RELEASE = '4.2rc1';

View File

@@ -130,7 +130,7 @@ $CONFIG{ 'template' } = '/etc/xen-tools/xm-nfs.tmpl';
#
# Release number.
#
my $RELEASE = '4.2~rc1';
my $RELEASE = '4.2rc1';
# store version number away.

View File

@@ -169,7 +169,7 @@ my %CONFIG;
#
# Release number.
#
my $RELEASE = '4.2~rc1';
my $RELEASE = '4.2rc1';

View File

@@ -102,7 +102,7 @@ $CONFIG{ 'prefix' } = "/etc/xen";
#
# Release number.
#
my $RELEASE = '4.2~rc1';
my $RELEASE = '4.2rc1';

View File

@@ -116,7 +116,7 @@ my %CONFIG;
#
# Release number.
#
my $RELEASE = '4.2~rc1';
my $RELEASE = '4.2rc1';

View File

@@ -120,7 +120,7 @@ my %CONFIG;
#
# Release number.
#
my $RELEASE = '4.2~rc1';
my $RELEASE = '4.2rc1';
#

View File

@@ -156,7 +156,7 @@ $CONFIG{ 'template' } = '/etc/xen-tools/xm.tmpl';
#
# Release number.
#
my $RELEASE = '4.2~rc1';
my $RELEASE = '4.2rc1';

View File

@@ -97,7 +97,7 @@ my %CONFIG;
#
# Release number.
#
my $RELEASE = '4.2~rc1';
my $RELEASE = '4.2rc1';

View File

@@ -73,7 +73,7 @@ use strict;
#
# Release number.
#
my $RELEASE = '4.2~rc1';
my $RELEASE = '4.2rc1';
# Init
my $mirror = '';

View File

@@ -113,7 +113,7 @@ my %CONFIG;
#
# Release number.
#
my $RELEASE = '4.2~rc1';
my $RELEASE = '4.2rc1';
#