Changeset 35514
- Timestamp:
- 2021-09-28T19:26:35+13:00 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone3/build.xml
r35459 r35514 718 718 719 719 <!-- if we're told to work with gnome-lib, or if there's a gnome-lib-minimal that the user 720 has placed in gs2build/ext, then compile gs2build after sourcing gnome-lib environment --> 720 has placed in gs2build/ext, then compile gs2build after sourcing gnome-lib environment. 721 But don't do anything with gnomelib on windows. 722 --> 721 723 <condition property="opt.gnomelibext.arg" 722 724 value="--enable-gnome-lib-ext" else=" "> 723 <or> 724 <available file="${gs2build.home}/ext/gnome-lib-minimal" type="dir"/> 725 <istrue value="${use.gnomelib.ext}"/> 726 <istrue value="${checkout.gnomelib.ext}"/> 727 </or> 725 <and> 726 <istrue value="${current.os.isunix}"/> 727 <or> 728 <available file="${gs2build.home}/ext/gnome-lib-minimal" type="dir"/> 729 <istrue value="${use.gnomelib.ext}"/> 730 <istrue value="${checkout.gnomelib.ext}"/> 731 </or> 732 </and> 728 733 </condition> 729 734 … … 4060 4065 4061 4066 4062 <!-- Compile up gnome-lib src folder if: checkout.gnomelib.ext is turned on, and if not using the binary 4063 version (gnome-lib-minimal), and if the gnome-lib src folder is not already compiled up. --> 4064 <target name="compile-gnome-lib" if="checkout.gnomelib.ext"> 4067 <!-- If not on windows, then compile up gnome-lib src folder if: 4068 checkout.gnomelib.ext is turned on, 4069 and if not using the binary version (gnome-lib-minimal), 4070 and if the gnome-lib src folder is not already compiled up. --> 4071 <target name="compile-gnome-lib" if="checkout.gnomelib.ext" unless="current.os.iswindows"> 4065 4072 4066 4073 <!-- http://stackoverflow.com/questions/3290307/sourcing-a-shell-profile-in-an-ant-build-file … … 4122 4129 <if> 4123 4130 <bool> 4124 <istrue value="${checkout.gnomelib.ext}"/> 4131 <and> 4132 <istrue value="${checkout.gnomelib.ext}"/> 4133 <istrue value="${current.os.isunix}"/> 4134 </and> 4125 4135 </bool> 4126 4136 … … 4130 4140 <else> 4131 4141 <echo>**** Not preparing gnome-lib:</echo> 4132 <echo>property checkout.gnomelib.ext in build.properties was not set or was set to false </echo>4142 <echo>property checkout.gnomelib.ext in build.properties was not set or was set to false, or OS is not unix.</echo> 4133 4143 </else> 4134 4144 </if>
Note:
See TracChangeset
for help on using the changeset viewer.