Ignore:
Timestamp:
2005-04-27T15:38:12+12:00 (19 years ago)
Author:
kjdon
Message:

added some windows stuff

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/ant-install-branch/gsdl3/build.xml

    r9756 r9763  
    925925    <!-- rename the .gs2build files -->
    926926    <antcall target="rename-gs2build-files"/>
    927   </target>
    928 
    929   <target name="rename-gs2build-files">
     927    <antcall target="unzip-windows-packages"/>
     928  </target>
     929 <target name="unzip-windows-packages" depends="init"> 
     930  <!-- unzip the windows packages -->
     931    <unzip src="${gs2build.home}/packages/windows/gdbm/gdbm.zip"
     932    dest="${gs2build.home}/packages/windows/gdbm"/>
     933   <unzip src="${gs2build.home}/packages/windows/crypt/crypt.zip"
     934    dest="${gs2build.home}/packages/windows/crypt"/>
     935       <unzip src="${gs2build.home}/packages/windows/expat/expat.zip"
     936    dest="${gs2build.home}/packages/windows/expat"/>
     937   <unzip src="${gs2build.home}/packages/windows/stlport/stlport.zip"
     938    dest="${gs2build.home}/packages/windows/stlport"/>
     939  </target>
     940
     941  <target name="rename-gs2build-files-windows" if="current.os.iswindows">
     942    <property name="gs2build-extra.home" value="${gs2build.home}/gs2build-extra"/>
     943   <copy file="${gs2build-extra.home}/lib.win32.mak" tofile="${gs2build.home}/lib/win32.mak"/>
     944   <copy file="${gs2build-extra.home}/win32.mak" tofile="${gs2build.home}/win32.mak"/>
     945   
     946  </target>
     947  <target name="rename-gs2build-files-linux" if="current.os.islinux">
    930948    <property name="gs2build-extra.home" value="${gs2build.home}/gs2build-extra"/>
    931949    <copy file="${gs2build-extra.home}/configure" tofile="${gs2build.home}/configure"/>   
     
    9901008    <!-- windows: -->
    9911009  </target>
    992 
     1010  <target name="compile-gs2building-windows" depends="init" if="current.os.iswindows"
     1011    description="Use this if you want to compile the C++ code for the gs2build package">
     1012    <exec executable="nmake" dir="${gs2build.home}">
     1013      <arg value="/f"/>
     1014      <arg value="win32.mak"/>
     1015    </exec>
     1016  </target>
    9931017  <target name="gli" description="Run the Greenstone Librarian Interface" depends="gli-local,gli-external">
    9941018    <echo>Running GLI from Ant means that you don't get to see any of the terminal output. If you have problems with GLI and want to see the output, please run the script gli4gs3.sh/bat from the gsdl3/gli directory.
Note: See TracChangeset for help on using the changeset viewer.