mirror of https://github.com/davisking/dlib.git
Improved makedocs script a bit. Now it uses hg archive rather than
hg clone to get a copy of the sources.
This commit is contained in:
parent
5599fb922b
commit
48444e1f19
|
@ -77,7 +77,7 @@ makedocs ()
|
||||||
# grab a clean copy of the repository
|
# grab a clean copy of the repository
|
||||||
rm -rf docs/cache
|
rm -rf docs/cache
|
||||||
rm -rf cache.$$
|
rm -rf cache.$$
|
||||||
hg clone .. cache.$$ > /dev/null || report_failure
|
hg archive cache.$$ || report_failure
|
||||||
# put the stuff we need into the docs/cache folder
|
# put the stuff we need into the docs/cache folder
|
||||||
mkdir docs/cache
|
mkdir docs/cache
|
||||||
mv cache.$$/dlib docs/cache/
|
mv cache.$$/dlib docs/cache/
|
||||||
|
|
Loading…
Reference in New Issue