[Zope-CVS] CVS: Packages/SFTPGateway/bin - makedist:1.5

Fred L. Drake, Jr. fred at zope.com
Mon Dec 22 15:51:58 EST 2003


Update of /cvs-repository/Packages/SFTPGateway/bin
In directory cvs.zope.org:/tmp/cvs-serv10930

Modified Files:
	makedist 
Log Message:
attempt to generate the HTML documentation if the Zope 3 utilities/
directory can be found


=== Packages/SFTPGateway/bin/makedist 1.4 => 1.5 ===
--- Packages/SFTPGateway/bin/makedist:1.4	Mon Dec 22 11:07:58 2003
+++ Packages/SFTPGateway/bin/makedist	Mon Dec 22 15:51:58 2003
@@ -19,6 +19,8 @@
     TAG=HEAD
 fi
 
+RST2HTML="$HOME/projects/Zope/Zope3/utilities/rst2html"
+
 TARGETDIR="`pwd`"
 TEMPDIR="sftpgateway-$RELEASE"
 TARBALL="$TEMPDIR.tar.gz"
@@ -30,6 +32,12 @@
     || exit $?
 
 find . -name .cvsignore -exec rm '{}' ';'
+
+# Generate HTML documentation:
+if [ -x "$RST2HTML" ] ; then
+    cd "$TEMPDIR/doc/" || exit $?
+    "$RST2HTML" --stylesheet-path=styles/rest.css README.txt || exit $?
+fi
 
 # Download and unpack third-party packages:
 cd "$TARGETDIR/$TEMPDIR/thirdparty" || exit $?




More information about the Zope-CVS mailing list