Changeset 19933


Ignore:
Timestamp:
2009-06-26T15:49:00+12:00 (15 years ago)
Author:
kjdon
Message:

added a bindir arg to common-src configure

File:
1 edited

Legend:

Unmodified
Added
Removed
  • greenstone3/trunk/build.xml

    r19931 r19933  
    143143      <os family="unix"/>
    144144      <not>
    145   <os family="mac"/>
     145    <os family="mac"/>
    146146      </not>
    147147    </and>
     
    156156  </condition>
    157157
     158  <!-- is there a better way to do this?? what about solaris?? -->
     159  <condition property="os.bin.dir" value="windows">
     160    <os family="windows"/>
     161  </condition>
     162  <condition property="os.bin.dir" value="darwin">
     163    <os family="mac"/>
     164  </condition>
     165  <condition property="os.bin.dir" value="linux">
     166    <and>
     167      <os family="unix"/>
     168      <not>
     169    <os family="mac"/>
     170      </not>
     171    </and>
     172  </condition>
     173 
     174 
    158175  <condition property="collection.building.disabled">
    159176    <isset property="disable.collection.building"/>
     
    12131230      dir="${common.src.home}" failonerror="true">
    12141231      <arg value="--prefix=${gs2build.home}"/> <!-- what value to use?? -->
     1232      <arg value="--bindir=${gs2build.home}/bin/${os.bin.dir}"/> <!-- what value to use?? -->
    12151233      <arg line="${static.arg}"/>
    12161234    </exec>
Note: See TracChangeset for help on using the changeset viewer.