1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-12-22 10:19:57 +01:00
This commit is contained in:
Werner Koch 1999-07-24 09:59:06 +00:00
parent 843742c086
commit a06bc6ffd8
2 changed files with 21 additions and 1 deletions

View File

@ -4,8 +4,10 @@
set -e
cd $HOME/pub
ftp_dir=$1
cd $HOME/pub
PATH="$HOME/bin:$PATH"
fix_version () {
version=$(cat $1/VERSION)
@ -25,6 +27,14 @@ Thanks,
EOF
}
build_dist () {
set +e
nice scripts/autogen.sh && nice ./configure && nice make dist
rm $ftp_dir/gnupg-*snap*-*-*.tar.gz
mv gnupg-*.tar.gz $ftp_dir/
set -e
}
do_export () {
pgm=$1
@ -34,6 +44,12 @@ do_export () {
rm -rf $pgm.old || true
cvs -Q export -r HEAD -d $pgm.new $mod
fix_version $pgm.new
if [ -n "$ftp_dir" ]; then
here=$(pwd)
cd $pgm.new
build_dist
cd $here
fi
[ -d $pgm ] && mv $pgm $pgm.old
if ! mv $pgm.new $pgm ; then
echo "rename failed - restoring" >&2

View File

@ -44,6 +44,10 @@ Updated: $updated \\
r $src/BUGS
d
}
/@HOSTEDBY@/ {
r $src/hostedby.html.inc
d
}
" $sf > $df
;;
*.html.inc | *~ | *.tmp | */BUGS )