Project

General

Profile

« Previous | Next » 

Revision 4813

Added by daigle over 15 years ago

add a build property "make.perl.code" so the cgi make can be turned off in build.xml on machines without make.

View differences:

build.xml
35 35
	
36 36
  
37 37
	
38
  <!-- Determine if installed ecogrid -->
38
  <!-- Determine if ecogrid should be installed-->
39 39
  <condition property="enable.ecogrid">
40 40
    <equals arg1="${install.ecogrid}" arg2="true" />
41 41
  </condition>
42
  
43
  <!-- Determine if perl should be built-->
44
  <condition property="build.perl">
45
    <equals arg1="${make.perl.code}" arg2="true" />
46
  </condition>
42 47

  
43 48
   <target name="config">
44 49
   	  <property name="jsdk" value="${build.tomcat.dir}/common/lib/servlet-api.jar"/>
......
842 847
	    </copy>
843 848
    </target>
844 849
	
845
	<target name="cgiPrepare">		
850
	<target name="cgiPrepare" if="build.perl">		
846 851
		<exec dir="src/perl/Metacat/" command="perl" >
847 852
			<arg value="Makefile.PL" />
848 853
		</exec>

Also available in: Unified diff