Commits

Paul Pritchard committed 46c1f27

Add "minified" copyright notice for minified files, similar to jquery's notice.

Comments (0)

Files changed (2)

     <property description="YUICompressor" name="YUICompressor" value="extras/yuicompressor-2.4.2.jar" />
     <loadfile description="Version to build" property="version" srcfile="version.txt" />
     <loadfile description="Copyright and license" property="copyright" srcfile="copyright.txt" />
+    <loadfile description="Minified copyright" property="copyrightmin" srcfile="copyright_min.txt" />
     <condition property="ND" value="${basedir}/extras/NaturalDocs/NaturalDocs.bat" else="${basedir}/extras/NaturalDocs/NaturalDocs">
       <and>
         <os family="windows" />
         <!-- Edit the examples index file to point to the html files and not the php files -->
 
         <replaceregexp match='a class="example\-link" href="([a-zA-Z0-9_\-]+).php"' replace='a class="example\-link" href="\1.html"' flags="g">
-          <fileset dir="${DIST_DIR}/examples" includes="index.html" />
+          <fileset dir="${DIST_DIR}/examples" includes="*.html" />
         </replaceregexp>
 
         <replaceregexp match='href="([a-zA-Z0-9][a-zA-Z0-9_\-]+).php"\>Next' replace='href="\1.html"\>Next' flags="g">
         <copy todir="${DIST_DIR}">
           <fileset dir="${DIST_DIR}/temp" includes="*.min.js" />
           <filterchain>
-            <concatfilter prepend="copyright.txt"/>
+            <concatfilter prepend="copyright_min.txt"/>
           </filterchain>
         </copy>
         
         <copy todir="${DIST_DIR}/plugins">
           <fileset dir="${DIST_DIR}/plugins/temp" includes="*.min.js" />
           <filterchain>
-            <concatfilter prepend="copyright.txt"/>
+            <concatfilter prepend="copyright_min.txt"/>
           </filterchain>
         </copy>
         
  *
  * Version: @VERSION
  *
- * Copyright (c) 2009-2011 Chris Leonello
+ * Copyright (c) 2009-2013 Chris Leonello
  * jqPlot is currently available for use in all personal or commercial projects 
  * under both the MIT (http://www.opensource.org/licenses/mit-license.php) and GPL 
  * version 2.0 (http://www.gnu.org/licenses/gpl-2.0.html) licenses. This means that you can 
  *
  * included jsDate library by Chris Leonello:
  *
- * Copyright (c) 2010-2011 Chris Leonello
+ * Copyright (c) 2010-2013 Chris Leonello
  *
  * jsDate is currently available for use in all personal or commercial projects 
  * under both the MIT and GPL version 2.0 licenses. This means that you can