[armedbear-cvs] r13317 - trunk/abcl

mevenson at common-lisp.net mevenson at common-lisp.net
Thu Jun 9 15:24:32 UTC 2011


Author: mevenson
Date: Thu Jun  9 08:24:31 2011
New Revision: 13317

Log:
Make abcl-contrib.jar part of the default and release targets.

Modified:
   trunk/abcl/build.xml

Modified: trunk/abcl/build.xml
==============================================================================
--- trunk/abcl/build.xml	Thu Jun  9 06:03:05 2011	(r13316)
+++ trunk/abcl/build.xml	Thu Jun  9 08:24:31 2011	(r13317)
@@ -430,7 +430,7 @@
     </target>
     
     <target name="abcl.wrapper" 
-            depends="abcl.jar,abcl.wrapper.unix,abcl.wrapper.windows">
+            depends="abcl.jar,abcl.contrib,abcl.wrapper.unix,abcl.wrapper.windows">
       <description>
         Creates in-place exectuable shell wrapper in '${abcl.wrapper.file}'
       </description>
@@ -469,8 +469,19 @@
       <property name="abcl.wrapper.in.file" value="abcl.bat.in"/>
     </target>
 
-    <target name="abcl.contrib">
-      <jar destfile="dist/abcl-contrib.jar"
+    <property name="abcl-contrib.jar"
+              value="${dist.dir}/abcl-contrib.jar"/>
+    <condition property="abcl.contrib.uptodate.p">
+      <uptodate targetfile="${abcl-contrib.jar}">
+        <srcfiles dir="contrib">
+          <include name="**/*.asd"/>
+          <include name="**/*.lisp"/>
+        </srcfiles>
+      </uptodate>
+    </condition>
+
+    <target name="abcl.contrib" unless="abcl.contrib.uptodate.p">
+      <jar destfile="${abcl-contrib.jar}"
            compress="true"
            basedir="contrib">
         <patternset>
@@ -479,14 +490,12 @@
         </patternset>
       </jar>
       <echo>
-Packaged contribs in ${dist.dir}/abcl-contrib.jar. 
-
-To use contribs, ensure that 'abcl-contrib.jar' is in the same
-directory as 'abcl.jar', then
+Packaged contribs in ${abcl-contrib.jar}. To use contribs, ensure that
+this file is in the same directory as 'abcl.jar', and then
 
   CL-USER> (require 'abcl-contrib)
 
-will place all the contribs in the ASDF registry path. 
+will place all the contribs in the ASDF registry. 
 
 To load a contrib, something like
 
@@ -711,7 +720,7 @@
       </jar>
     </target>
 
-    <target name="abcl.binary.prepare" depends="abcl.jar,abcl.stamp.version">
+    <target name="abcl.binary.prepare" depends="abcl.jar,abcl.contrib,abcl.stamp.version">
       <property name="abcl.build.binary.dir"
                 value="${build.dir}/abcl-bin-${abcl.version}"/>
       <mkdir dir="${abcl.build.binary.dir}"/>
@@ -720,6 +729,7 @@
         <fileset dir="${basedir}/dist">
           <patternset>
             <include name="abcl.jar"/>
+            <include name="abcl-contrib.jar"/>
           </patternset>
         </fileset>
         <fileset dir="${basedir}">




More information about the armedbear-cvs mailing list