1
0
Fork 0
mirror of git://git.gnupg.org/gnupg.git synced 2025-07-02 22:46:30 +02:00
--without-included-regex.
This commit is contained in:
Werner Koch 2005-01-17 10:19:57 +00:00
parent 4440af47f7
commit cc19a07082
6 changed files with 100 additions and 13 deletions

View file

@ -39,7 +39,8 @@ fi
version=$(sed -n 's/^#[ ]*define[ ][ ]*VERSION[ ][ ]*\"\([0-9.a-z-]*\)\"/\1/p' $bindir/config.h)
echo "building version $version"
prod_version=$(echo "$version"|awk -F'[^0-9]' '{print $1 "." $2 "." $3 ".1"}')
echo "building version $version ($prod_version)"
rm * >/dev/null 2>/dev/null || true
@ -93,7 +94,12 @@ for i in ${srcdir}/po/*.po; do
;;
esac
done
zip -9 "gnupg-w32cli-${version}.zip" *
if makensis -version >/dev/null 2>&1 ; then
makensis -v2 -nocd -DVERSION="${version}" ${srcdir}/scripts/w32installer.nsi
makensis -v3 -nocd -DVERSION="${version}" \
-DPROD_VERSION="${prod_version}" ${srcdir}/scripts/w32installer.nsi
echo "Installer created" >&2
else
zip -9 "gnupg-w32cli-${version}.zip" *
echo "ZIP archive created" >&2
fi