1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-06-07 23:27:48 +02:00

Make it easier to distribute bzip2

This commit is contained in:
Werner Koch 2009-09-05 18:07:00 +00:00
parent 7956620485
commit 999f8a3feb
4 changed files with 10 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2009-09-05 Werner Koch <wk@g10code.com>
* autogen.sh <--build-w32>: Pass --with-bzip2.
2009-09-03 Werner Koch <wk@g10code.com>
* w32installer.nsi: Set the final OutPath to Doc/.

View File

@ -51,6 +51,9 @@ if test "$1" = "--build-w32"; then
fi
build=`$tsdir/scripts/config.guess`
[ -z "$w32root" ] && w32root="$HOME/w32root"
echo "Using $w32root as standard install directory" >&2
# Locate the cross compiler
crossbindir=
for host in i586-mingw32msvc i386-mingw32msvc; do
@ -92,6 +95,7 @@ if test "$1" = "--build-w32"; then
[ $DIE = yes ] && exit 1
$tsdir/configure ${conf_CC} --build=${build} --host=${host} \
--with-bzip2=${w32root} \
${disable_foo_tests} $*
exit $?
fi

View File

@ -142,7 +142,7 @@ cp ${srcdir}/doc/README.W32 README-W32.txt
todos README-W32.txt
patches_defs=
for i in `find "$topdir/patches" -type f -name '*.diff'`; do
for i in `find "$topdir/patches" -type f \( -name '*.diff' -o -name '*.tar.gz' \)`; do
cp $i .
patches_defs="-DWITH_PATCHES"
done

View File

@ -229,6 +229,7 @@ Section "Documentation" SecDoc
!ifdef WITH_PATCHES
SetOutPath "$INSTDIR\Src"
File '*.diff'
File '*.tar.gz'
!endif
SectionEnd ; Section Documentation