Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
067cac19
Commit
067cac19
authored
Mar 03, 1998
by
Fred Drake
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Script to create a source distribution. See comments at top.
parent
f9a73299
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
72 additions
and
0 deletions
+72
-0
Doc/mktarball.sh
Doc/mktarball.sh
+36
-0
Doc/tools/mktarball.sh
Doc/tools/mktarball.sh
+36
-0
No files found.
Doc/mktarball.sh
0 → 100755
View file @
067cac19
#! /bin/sh
#
# script to create the latex source distribution
# * should be modified to get the Python version number automatically
# from the Makefile or someplace.
#
# usage:
# ./mktarball.sh [tag]
#
# without [tag]: generate from the current version that's checked in
# (*NOT* what's in the current directory!)
#
# with [tag]: generate from the named tag
VERSION
=
1.5
TEMPDIR
=
tmp.
$$
MYDIR
=
`
pwd
`
TAG
=
"
$1
"
mkdirhier
$TEMPDIR
/Doc
||
exit
$?
if
[
"
$TAG
"
]
;
then
cvs
export
-r
$TAG
-d
$TEMPDIR
/Doc python/dist/src/Doc
||
exit
$?
else
cvs checkout
-d
$TEMPDIR
/Doc python/dist/src/Doc
||
exit
$?
rm
-r
`
find
$TEMPDIR
-name
CVS
-print
`
||
exit
$?
fi
cd
$TEMPDIR
(
tar
cf - Doc |
gzip
-9
>
$MYDIR
/latex-
$VERSION
.tar.gz
)
||
exit
$?
cd
$MYDIR
rm
-r
$TEMPDIR
||
exit
$?
exit
0
Doc/tools/mktarball.sh
0 → 100755
View file @
067cac19
#! /bin/sh
#
# script to create the latex source distribution
# * should be modified to get the Python version number automatically
# from the Makefile or someplace.
#
# usage:
# ./mktarball.sh [tag]
#
# without [tag]: generate from the current version that's checked in
# (*NOT* what's in the current directory!)
#
# with [tag]: generate from the named tag
VERSION
=
1.5
TEMPDIR
=
tmp.
$$
MYDIR
=
`
pwd
`
TAG
=
"
$1
"
mkdirhier
$TEMPDIR
/Doc
||
exit
$?
if
[
"
$TAG
"
]
;
then
cvs
export
-r
$TAG
-d
$TEMPDIR
/Doc python/dist/src/Doc
||
exit
$?
else
cvs checkout
-d
$TEMPDIR
/Doc python/dist/src/Doc
||
exit
$?
rm
-r
`
find
$TEMPDIR
-name
CVS
-print
`
||
exit
$?
fi
cd
$TEMPDIR
(
tar
cf - Doc |
gzip
-9
>
$MYDIR
/latex-
$VERSION
.tar.gz
)
||
exit
$?
cd
$MYDIR
rm
-r
$TEMPDIR
||
exit
$?
exit
0
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment