[Swift-commit] r4555 - trunk/docs

davidk at ci.uchicago.edu davidk at ci.uchicago.edu
Fri Jun 3 12:32:56 CDT 2011


Author: davidk
Date: 2011-06-03 12:32:56 -0500 (Fri, 03 Jun 2011)
New Revision: 4555

Modified:
   trunk/docs/build_docs.sh
Log:
Fix for build_docs to copy all files in docs directory rather than just html and pdf output (may include charts, graphics, etc)


Modified: trunk/docs/build_docs.sh
===================================================================
--- trunk/docs/build_docs.sh	2011-06-03 16:58:36 UTC (rev 4554)
+++ trunk/docs/build_docs.sh	2011-06-03 17:32:56 UTC (rev 4555)
@@ -49,18 +49,12 @@
       mkdir $INSTALLATION_DIRECTORY/$VERSION/$directory || crash "Unable to create directory $INSTALLATION_DIRECTORY/$VERSION/$directory"
    fi
 
-   # Copy HTML output
-   for copyfile in `ls *.html 2>/dev/null`
+   # Copy all files to destination (may include graphics, etc)
+   for copyfile in `ls * 2>/dev/null`
    do
       cp $copyfile $INSTALLATION_DIRECTORY/$VERSION/$directory || crash "Unable to copy $copyfile to $INSTALLATION_DIRECTORY/$VERSION/$directory"
    done
 
-   # Copy PDF output
-   for copyfile in `ls *.pdf 2>/dev/null`
-   do
-      cp $copyfile $INSTALLATION_DIRECTORY/$VERSION/$directory || crash "Unable to copy $copyfile to $INSTALLATION_DIRECTORY/$VERSION/$directory"
-   done
-
    popd > /dev/null 2>&1
 done
 popd > /dev/null 2>&1




More information about the Swift-commit mailing list