"vscode:/vscode.git/clone" did not exist on "172274b8091e8925fc53d19bd8a58171dfec00be"
Commit 65d86b95 authored by Davis King's avatar Davis King
Browse files

Updated this script so that it doesn't generate an index.html file anymore

and also set it up to generate a change_log.txt file.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403387
parent 1ecb212c
......@@ -11,17 +11,26 @@ report_failure ()
./makedocs snapshot || exit 1
REVNUM_FILE=.logger_revnum
REVISION=`svn info | grep Revision | awk '{ print $2 }'`
rm -rf release/* || report_failure
DLIB_REPOS=`svn info | grep URL | awk '{print $2}' | sed -e 's/\/docs$//' `
REVISION=`svn info | grep Revision | awk '{ print $2 }'`
svn log -v -r $REVISION:`cat $REVNUM_FILE` $DLIB_REPOS/dlib > release/change_log.txt || report_failure
cd release || report_failure
rm -rf *
RELDIR=`echo dlib_snapshot-rev$REVISION`
mkdir $RELDIR
cd $RELDIR || report_failure
......@@ -47,11 +56,11 @@ rm -rf $RELDIR
# make an index.html with links to the snapshot archives and chm file
echo "<html><body>" > index.html
echo "<a href='$SOURCE_ZIP'>$SOURCE_ZIP</a><br/>" >> index.html
echo "<a href='$SOURCE_TAR.bz2'>$SOURCE_TAR.bz2</a><br/>" >> index.html
echo "<a href='dlib_documentation_snapshot-rev$REVISION.chm'>dlib_documentation_snapshot-rev$REVISION.chm</a><br/>" >> index.html
echo "</body></html>" >> index.html
#echo "<html><body>" > index.html
#echo "<a href='$SOURCE_ZIP'>$SOURCE_ZIP</a><br/>" >> index.html
#echo "<a href='$SOURCE_TAR.bz2'>$SOURCE_TAR.bz2</a><br/>" >> index.html
#echo "<a href='dlib_documentation_snapshot-rev$REVISION.chm'>dlib_documentation_snapshot-rev$REVISION.chm</a><br/>" >> index.html
#echo "</body></html>" >> index.html
# finally, generate the chm help file
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment