2000-03-28 12:39:30 +00:00
|
|
|
#!/bin/sh
|
2001-04-28 18:53:00 +00:00
|
|
|
#
|
|
|
|
# Copyright (C) 2000, 2001 Free Software Foundation, Inc.
|
|
|
|
#
|
|
|
|
# This file is free software; as a special exception the author gives
|
|
|
|
# unlimited permission to copy and/or distribute it, with or without
|
|
|
|
# modifications, as long as this notice is preserved.
|
|
|
|
#
|
|
|
|
# This program is distributed in the hope that it will be useful, but
|
|
|
|
# WITHOUT ANY WARRANTY, to the extent permitted by law; without even the
|
|
|
|
# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
|
|
|
|
2000-03-28 12:39:30 +00:00
|
|
|
|
|
|
|
set -e
|
|
|
|
|
|
|
|
cd dist-w32
|
|
|
|
|
|
|
|
if [ -f ../README ]; then
|
|
|
|
srcdir=..
|
|
|
|
elif [ -f ../../gnupg-stable/README ]; then
|
|
|
|
srcdir=../../gnupg-stable
|
2000-04-10 11:32:38 +00:00
|
|
|
elif [ -f ../../../gnupg-stable/README ]; then
|
|
|
|
srcdir=../../../gnupg-stable
|
2000-03-28 12:39:30 +00:00
|
|
|
else
|
|
|
|
echo "cannot figure out the source dir" >&2
|
|
|
|
exit 1
|
|
|
|
fi
|
|
|
|
|
|
|
|
rm * || true
|
|
|
|
ln ../g10/gpg gpg.exe
|
2001-05-28 12:46:28 +00:00
|
|
|
mingw32 strip gpg.exe
|
2000-11-24 13:44:56 +00:00
|
|
|
if [ -f ../doc/gpg.man ] ; then
|
2000-10-23 16:38:27 +00:00
|
|
|
sed `printf "s/\b.//g"` ../doc/gpg.man >gpg.man
|
2000-10-04 13:51:27 +00:00
|
|
|
else
|
2000-11-24 13:44:56 +00:00
|
|
|
man -Tlatin1 -l ../doc/gpg.1 | sed `printf "s/\b.//g"` >gpg.man
|
2000-10-04 13:51:27 +00:00
|
|
|
fi
|
2000-03-28 12:39:30 +00:00
|
|
|
todos gpg.man
|
2000-06-05 10:27:46 +00:00
|
|
|
cp ${srcdir}/README .
|
|
|
|
todos README
|
2001-05-05 16:33:05 +00:00
|
|
|
cp ${srcdir}/COPYING .
|
|
|
|
todos COPYING
|
2000-03-28 12:39:30 +00:00
|
|
|
ln ${srcdir}/doc/README.W32 .
|
2000-06-05 10:27:46 +00:00
|
|
|
todos README.W32
|
2001-05-28 12:46:28 +00:00
|
|
|
ln ${srcdir}/doc/FAQ .
|
|
|
|
todos FAQ
|
2000-03-28 12:39:30 +00:00
|
|
|
for i in ${srcdir}/po/*.gmo; do ln $i "$(basename $i .gmo).mo" ; done
|
|
|
|
zip "gnupg-w32-$(cat ${srcdir}/VERSION).zip" *
|
2000-10-23 16:38:27 +00:00
|
|
|
|
|
|
|
|
2001-05-05 16:33:05 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|