mirror of https://github.com/davisking/dlib.git
Fixed this shell script so that it always generates the dlib/revision.h file
correctly. --HG-- extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403558
This commit is contained in:
parent
d435471116
commit
eddd556108
|
@ -83,6 +83,8 @@ makedocs ()
|
||||||
svn export -r $REVISION $DLIB_REPOS/examples docs/cache/examples > /dev/null || report_failure
|
svn export -r $REVISION $DLIB_REPOS/examples docs/cache/examples > /dev/null || report_failure
|
||||||
svn export -r $REVISION $DLIB_REPOS/dlib docs/cache/dlib > /dev/null || report_failure
|
svn export -r $REVISION $DLIB_REPOS/dlib docs/cache/dlib > /dev/null || report_failure
|
||||||
|
|
||||||
|
fi;
|
||||||
|
|
||||||
echo "#ifndef DLIB_REVISION_H" > docs/cache/dlib/revision.h
|
echo "#ifndef DLIB_REVISION_H" > docs/cache/dlib/revision.h
|
||||||
echo "// Version: " $RELEASE >> docs/cache/dlib/revision.h
|
echo "// Version: " $RELEASE >> docs/cache/dlib/revision.h
|
||||||
echo "// Date: " `date` >> docs/cache/dlib/revision.h
|
echo "// Date: " `date` >> docs/cache/dlib/revision.h
|
||||||
|
@ -90,7 +92,6 @@ makedocs ()
|
||||||
echo "#define DLIB_REVISION " $REVISION >> docs/cache/dlib/revision.h
|
echo "#define DLIB_REVISION " $REVISION >> docs/cache/dlib/revision.h
|
||||||
echo "#endif" >> docs/cache/dlib/revision.h
|
echo "#endif" >> docs/cache/dlib/revision.h
|
||||||
|
|
||||||
fi;
|
|
||||||
|
|
||||||
rm -rf docs/web/*
|
rm -rf docs/web/*
|
||||||
rm -rf docs/chm/docs/*
|
rm -rf docs/chm/docs/*
|
||||||
|
|
Loading…
Reference in New Issue