From 338ef6532d818479e65a44ab64b012b128acb36f Mon Sep 17 00:00:00 2001 From: "epoger@google.com" Date: Wed, 7 Dec 2011 18:52:40 +0000 Subject: [PATCH] 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 --- tools/update-doxygen.sh | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/tools/update-doxygen.sh b/tools/update-doxygen.sh index 65743c4..c95c2d0 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) 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' -- 2.7.4