Ignore:
Timestamp:
Oct 12, 2008, 4:04:00 PM (12 years ago)
Author:
Sam Hocevar
Message:

Improve the Win32 cross-build script. Still doesn't work well.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libpipi/trunk/build-win32

    r2863 r2937  
    2828rm -Rf "${BUILDDIR}"
    2929
    30 mv "${INSTALLDIR}/bin/"* "${INSTALLDIR}/"
    31 mv "${INSTALLDIR}/lib/"* "${INSTALLDIR}/"
    32 i586-mingw32msvc-strip "${INSTALLDIR}/"*.exe || true
    33 i586-mingw32msvc-strip "${INSTALLDIR}/"*.dll || true
    34 rmdir "${INSTALLDIR}/bin"
    35 rmdir "${INSTALLDIR}/lib"
     30i586-mingw32msvc-strip "${INSTALLDIR}/bin/"*.exe || true
     31i586-mingw32msvc-strip "${INSTALLDIR}/lib/"*.dll || true
     32
     33# Install gtk-sharp
     34cp -r "win32/dist/"* "${INSTALLDIR}/"
     35cp -r "win32/assembly/"* "${INSTALLDIR}/bin/"
     36
     37# Install pipi-sharp
     38mv "${INSTALLDIR}/lib/pipi-sharp/"* "${INSTALLDIR}/bin/"
     39rm -Rf "${INSTALLDIR}/lib/pipi-sharp"
    3640
    3741mkdir "${INSTALLDIR}/doc"
     
    4044/' < "${SRCDIR}/${f}" > "${INSTALLDIR}/doc/${f}.txt"
    4145done
    42 rm -Rf "${INSTALLDIR}/share"
    43 rm -Rf "${INSTALLDIR}/man"
    44 rm -Rf "${INSTALLDIR}/include"
    45 rm -Rf "${INSTALLDIR}/pkg-config"
    46 rm -f "${INSTALLDIR}/"*.a
    47 rm -f "${INSTALLDIR}/"*.la
     46rm -f "${INSTALLDIR}/lib/"*.a
     47rm -f "${INSTALLDIR}/lib/"*.la
    4848
    4949# Pack the directory
Note: See TracChangeset for help on using the changeset viewer.