[Swift-commit] r2614 - trunk/docs

noreply at svn.ci.uchicago.edu noreply at svn.ci.uchicago.edu
Thu Feb 26 06:43:40 CST 2009


Author: benc
Date: 2009-02-26 06:43:40 -0600 (Thu, 26 Feb 2009)
New Revision: 2614

Modified:
   trunk/docs/buildguides.sh
Log:
make buildguides use the makefile

Modified: trunk/docs/buildguides.sh
===================================================================
--- trunk/docs/buildguides.sh	2009-02-26 12:42:58 UTC (rev 2613)
+++ trunk/docs/buildguides.sh	2009-02-26 12:43:40 UTC (rev 2614)
@@ -1,36 +1,5 @@
 #!/bin/sh
 
-html() {
-	guide=$1
-	xsl=$2
-	out=${guide:0:${#guide}-4}.php
-	xsltproc formatting/$xsl $guide
-	#that's 'cause --output doesn't work
-	sed -e "s/index.html#/#/g" index.html >$out
-	rm index.html
-}
-
-pdf() {
-	guide=$1
-	xsl=$2
-	out=${guide:0:${#guide}-4}.pdf
-	fop/fop.sh -xsl formatting/vdl2_fo.xsl -xml $guide -pdf $out
-}
-
-process() {
-	html $1 $2
-	pdf $1
-}
-
-
-
-process "userguide.xml" "swiftsh_html.xsl"
-process "tutorial.xml" "swiftsh_html.xsl"
-process "tutorial-live.xml" "swiftsh_html.xsl"
-process "quickstartguide.xml" "swift_html.xsl"
-process "reallyquickstartguide.xml" "swift_html.xsl"
-process "languagespec.xml" "swift_html.xsl"
-process "languagespec-0.6.xml" "swift_html.xsl"
-process "log-processing.xml" "swift_html.xsl"
+make all chunked-userguide
 ./build-chunked-userguide.sh
 




More information about the Swift-commit mailing list