aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools
diff options
context:
space:
mode:
authorGravatar epoger@google.com <epoger@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2011-12-07 18:52:40 +0000
committerGravatar epoger@google.com <epoger@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2011-12-07 18:52:40 +0000
commit338ef6532d818479e65a44ab64b012b128acb36f (patch)
tree15bbc14c9ff18a631efe257434f60fdea57f02d6 /tools
parent982cb875f01e247843b9a79082f680cdcf234c2c (diff)
Make update-doxygen.sh upload docs to http://code.google.com/p/skia-autogen
(and fix mime-type propset bug) Once this is committed, I will remove the doxygen docs from the skia repo. Review URL: http://codereview.appspot.com/5452072 git-svn-id: http://skia.googlecode.com/svn/trunk@2824 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'tools')
-rwxr-xr-xtools/update-doxygen.sh16
1 files changed, 8 insertions, 8 deletions
diff --git a/tools/update-doxygen.sh b/tools/update-doxygen.sh
index 65743c4f6d..c95c2d0366 100755
--- a/tools/update-doxygen.sh
+++ b/tools/update-doxygen.sh
@@ -1,7 +1,7 @@
#!/bin/bash
#
-# Runs doxygen and stores its results in the Skia repo, so that they can be
-# browsed at http://skia.googlecode.com/svn/docs/html/index.html
+# Runs doxygen and stores its results in the skia-autogen repo, so that they
+# can be browsed at http://skia-autogen.googlecode.com/svn/docs/html/index.html
# Prepare a temporary dir and check out Skia trunk and docs.
cd
@@ -10,7 +10,7 @@ rm -rf $TEMPDIR
mkdir -p $TEMPDIR
cd $TEMPDIR
svn checkout http://skia.googlecode.com/svn/trunk # read-only
-svn checkout https://skia.googlecode.com/svn/docs # writeable
+svn checkout https://skia-autogen.googlecode.com/svn/docs # writeable
# Run Doxygen.
cd trunk
@@ -43,11 +43,11 @@ $(doxygen --version) </small></address>
EOF
# Make sure that all files have the correct mimetype.
-find . -name *.html -exec svn propset svn:mime-type text/html '{}' \;
-find . -name *.css -exec svn propset svn:mime-type text/css '{}' \;
-find . -name *.js -exec svn propset svn:mime-type text/javascript '{}' \;
-find . -name *.gif -exec svn propset svn:mime-type image/gif '{}' \;
-find . -name *.png -exec svn propset svn:mime-type image/png '{}' \;
+find . -name '*.html' -exec svn propset svn:mime-type text/html '{}' \;
+find . -name '*.css' -exec svn propset svn:mime-type text/css '{}' \;
+find . -name '*.js' -exec svn propset svn:mime-type text/javascript '{}' \;
+find . -name '*.gif' -exec svn propset svn:mime-type image/gif '{}' \;
+find . -name '*.png' -exec svn propset svn:mime-type image/png '{}' \;
# Commit the updated docs to the subversion repo.
svn commit --message 'commit doxygen-generated documentation'