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:
11
Makefile
11
Makefile
@@ -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/*-*[^~]
|
||||
|
||||
@@ -665,7 +665,7 @@ my $FAIL = 0;
|
||||
#
|
||||
# Release number.
|
||||
#
|
||||
my $RELEASE = '4.2~rc1';
|
||||
my $RELEASE = '4.2rc1';
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -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.
|
||||
|
||||
@@ -169,7 +169,7 @@ my %CONFIG;
|
||||
#
|
||||
# Release number.
|
||||
#
|
||||
my $RELEASE = '4.2~rc1';
|
||||
my $RELEASE = '4.2rc1';
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -102,7 +102,7 @@ $CONFIG{ 'prefix' } = "/etc/xen";
|
||||
#
|
||||
# Release number.
|
||||
#
|
||||
my $RELEASE = '4.2~rc1';
|
||||
my $RELEASE = '4.2rc1';
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -116,7 +116,7 @@ my %CONFIG;
|
||||
#
|
||||
# Release number.
|
||||
#
|
||||
my $RELEASE = '4.2~rc1';
|
||||
my $RELEASE = '4.2rc1';
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -120,7 +120,7 @@ my %CONFIG;
|
||||
#
|
||||
# Release number.
|
||||
#
|
||||
my $RELEASE = '4.2~rc1';
|
||||
my $RELEASE = '4.2rc1';
|
||||
|
||||
|
||||
#
|
||||
|
||||
@@ -156,7 +156,7 @@ $CONFIG{ 'template' } = '/etc/xen-tools/xm.tmpl';
|
||||
#
|
||||
# Release number.
|
||||
#
|
||||
my $RELEASE = '4.2~rc1';
|
||||
my $RELEASE = '4.2rc1';
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -97,7 +97,7 @@ my %CONFIG;
|
||||
#
|
||||
# Release number.
|
||||
#
|
||||
my $RELEASE = '4.2~rc1';
|
||||
my $RELEASE = '4.2rc1';
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -73,7 +73,7 @@ use strict;
|
||||
#
|
||||
# Release number.
|
||||
#
|
||||
my $RELEASE = '4.2~rc1';
|
||||
my $RELEASE = '4.2rc1';
|
||||
|
||||
# Init
|
||||
my $mirror = '';
|
||||
|
||||
@@ -113,7 +113,7 @@ my %CONFIG;
|
||||
#
|
||||
# Release number.
|
||||
#
|
||||
my $RELEASE = '4.2~rc1';
|
||||
my $RELEASE = '4.2rc1';
|
||||
|
||||
|
||||
#
|
||||
|
||||
Reference in New Issue
Block a user