Ignore:
Timestamp:
Oct 8, 2008, 1:43:53 AM (11 years ago)
Author:
Sam Hocevar
Message:

Update the Win32 cross-build script to reflect recent reorganisation.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcaca/trunk/build-win32

    r2859 r2901  
    99# Clean up our working directory
    1010SRCDIR="`pwd`"
    11 DIRNAME="libcaca-win32-`sed -ne 's/^AM_INIT_AUTOMAKE(.*, \(.*\)).*/\1/p' configure.ac`"
     11DIRNAME="libpipi-win32-`sed -ne 's/^AC_INIT(.*, \(.*\)).*/\1/p' configure.ac`"
    1212INSTALLDIR="`pwd`/${DIRNAME}"
    1313BUILDDIR="${INSTALLDIR}/build"
     
    2121cd "${BUILDDIR}"
    2222# Build for win32
    23 "${SRCDIR}/configure" --host=i586-mingw32msvc --prefix=/ --bindir=/bin --libdir=/lib --disable-imlib2 --disable-doc
     23"${SRCDIR}/configure" --host=i586-mingw32msvc --prefix=/ --bindir=/bin --libdir=/lib --disable-imlib2 --disable-doc "$@"
    2424make pkglibdir=/lib pkgdatadir=/data bindir=/bin
    2525# Install into our private directory
     
    3131mv "${INSTALLDIR}/lib/"* "${INSTALLDIR}/"
    3232rm -f "${INSTALLDIR}/caca-config.exe" # Just in case. *sigh*.
    33 i586-mingw32msvc-strip "${INSTALLDIR}/"*.exe
    34 i586-mingw32msvc-strip "${INSTALLDIR}/"*.dll
     33i586-mingw32msvc-strip "${INSTALLDIR}/"*.exe || true
     34i586-mingw32msvc-strip "${INSTALLDIR}/"*.dll || true
    3535rmdir "${INSTALLDIR}/bin"
    3636rmdir "${INSTALLDIR}/lib"
Note: See TracChangeset for help on using the changeset viewer.