Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
gcc-cobol
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
COBOLworx
gcc-cobol
Commits
f6820157
Commit
f6820157
authored
24 years ago
by
Bruce Korb
Committed by
Bruce Korb
24 years ago
Browse files
Options
Downloads
Patches
Plain Diff
generalize the release script a bit
From-SVN: r37411
parent
2f86842d
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
contrib/ChangeLog
+4
-0
4 additions, 0 deletions
contrib/ChangeLog
contrib/release
+33
-20
33 additions, 20 deletions
contrib/release
with
37 additions
and
20 deletions
contrib/ChangeLog
+
4
−
0
View file @
f6820157
2000-11-12 Bruce Korb <bkorb@gnu.org>
* release: generalize the release script a bit.
Sat Nov 11 17:29:03 2000 Mark P Mitchell <mark@codesourcery.com>
Sat Nov 11 17:29:03 2000 Mark P Mitchell <mark@codesourcery.com>
* gcc_build: Add -o option for setting the objdir to use.
* gcc_build: Add -o option for setting the objdir to use.
...
...
This diff is collapsed.
Click to expand it.
contrib/release
+
33
−
20
View file @
f6820157
...
@@ -4,27 +4,14 @@
...
@@ -4,27 +4,14 @@
#
#
# Originally written by Jeff Law <law@redhat.com>.
# Originally written by Jeff Law <law@redhat.com>.
PATH
=
/home/law/gcc:
$PATH
TMPDIR
=
/var/tmp
STATEDIR
=
/home/law
export
TMPDIR STATEDIR
# We run this on the cvs server itself so we can get at the cvs
# files quickly. It also assumes access to my home dir for some
# programs.
CVSROOT
=
/cvs/gcc
export
CVSROOT
# Get somewhere useful with a lot of disk space.
cd
$TMPDIR
# We need separate variables for the tag in the CVS sources and the
# We need separate variables for the tag in the CVS sources and the
# name of the release directory. Consider if we have a packaging problem
# name of the release directory. Consider if we have a packaging problem
# and need to respin the release. The sources do not change, but the release
# and need to respin the release. The sources do not change, but the release
# name changes.
# name changes.
#
#
# [[ Not clear. You can purge the old tag and make a new one, too.
# That way they continue to match. Maximize consistency. ]]
#
# We used to use a tag to get the previous release, but it is more reliable to
# We used to use a tag to get the previous release, but it is more reliable to
# actually unpack the previous release from the ftp directory. Consider files
# actually unpack the previous release from the ftp directory. Consider files
# like .brik which are in the release, but not in the repository.
# like .brik which are in the release, but not in the repository.
...
@@ -56,7 +43,33 @@ case $last_release_name in
...
@@ -56,7 +43,33 @@ case $last_release_name in
echo
"No testsuites in gcc-2.95*"
echo
"No testsuites in gcc-2.95*"
;;
;;
esac
esac
STATEDIR
=
${
STATEDIR
-/home/law
}
GCCBASE
=
${
GCCBASE
-
${
STATEDIR
}
/gcc
}
TMPDIR
=
${
TMPDIR
-/var/tmp
}
export
TMPDIR STATEDIR GCCBASE
PATH
=
${
GCCBASE
}
:
$PATH
[
-f
${
GCCBASE
}
/gcc.pot
]
||
{
echo
"'
${
GCCBASE
}
/gcc.pot' is missing"
exit
1
}
[
-f
${
STATEDIR
}
/bin/brik
]
||
{
echo
"'
${
STATEDIR
}
/bin/brik' is missing"
exit
1
}
# We run this on the cvs server itself so we can get at the cvs
# files quickly. It also assumes access to my home dir for some
# programs.
CVSROOT
=
/cvs/gcc
export
CVSROOT
# Get somewhere useful with a lot of disk space.
cd
$TMPDIR
# Get into a temporary directory so as not to be confused by
# Get into a temporary directory so as not to be confused by
# any existing CVS administration files.
# any existing CVS administration files.
rm
-rf
$$
rm
-rf
$$
...
@@ -99,7 +112,7 @@ noncore_files="gcc/cp libio libstdc++ gcc/f libf2c gcc/objc libobjc gcc/ch libch
...
@@ -99,7 +112,7 @@ noncore_files="gcc/cp libio libstdc++ gcc/f libf2c gcc/objc libobjc gcc/ch libch
cvs
-Q
export
-ko
-r
$release_tag
egcs
cvs
-Q
export
-ko
-r
$release_tag
egcs
cd
egcs
cd
egcs
contrib/gcc_update
--touch
contrib/gcc_update
--touch
cp
/home/law/gcc
/gcc.pot gcc/po
cp
${
GCCBASE
}
/gcc.pot gcc/po
cd
..
cd
..
cvs
-Q
export
-ko
-Dnow
wwwdocs/htdocs/install
cvs
-Q
export
-ko
-Dnow
wwwdocs/htdocs/install
cvs
-Q
export
-ko
-Dnow
wwwdocs/htdocs/faq.html
cvs
-Q
export
-ko
-Dnow
wwwdocs/htdocs/faq.html
...
@@ -110,7 +123,7 @@ release_docs $release_name $$
...
@@ -110,7 +123,7 @@ release_docs $release_name $$
# Build a list of files in this release.
# Build a list of files in this release.
cd
$release_name
cd
$release_name
find
.
-type
f
-print
|
sort
>
../files_
$release_name
find
.
-type
f
-print
|
sort
>
../files_
$release_name
/home/law
/bin/brik
-Gb
-f
../files_
$release_name
>
../.brik_
$release_name
${
STATEDIR
}
/bin/brik
-Gb
-f
../files_
$release_name
>
../.brik_
$release_name
cp
../.brik_
$release_name
./.brik
cp
../.brik_
$release_name
./.brik
# Get back to the directory with the two releases in it.
# Get back to the directory with the two releases in it.
...
@@ -153,7 +166,7 @@ fi
...
@@ -153,7 +166,7 @@ fi
cvs
-Q
export
-ko
-r
$release_tag
egcs
cvs
-Q
export
-ko
-r
$release_tag
egcs
cd
egcs
cd
egcs
contrib/gcc_update
--touch
contrib/gcc_update
--touch
cp
/home/law/gcc
/gcc.pot gcc/po
cp
${
GCCBASE
}
/gcc.pot gcc/po
cd
..
cd
..
cvs
-Q
export
-ko
-Dnow
wwwdocs/htdocs/install
cvs
-Q
export
-ko
-Dnow
wwwdocs/htdocs/install
cvs
-Q
export
-ko
-Dnow
wwwdocs/htdocs/faq.html
cvs
-Q
export
-ko
-Dnow
wwwdocs/htdocs/faq.html
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment