diff options
author | upstream source tree <ports@midipix.org> | 2015-03-15 20:14:05 -0400 |
---|---|---|
committer | upstream source tree <ports@midipix.org> | 2015-03-15 20:14:05 -0400 |
commit | 554fd8c5195424bdbcabf5de30fdc183aba391bd (patch) | |
tree | 976dc5ab7fddf506dadce60ae936f43f58787092 /maintainer-scripts/update_web_docs_libstdcxx_svn | |
download | cbb-gcc-4.6.4-554fd8c5195424bdbcabf5de30fdc183aba391bd.tar.bz2 cbb-gcc-4.6.4-554fd8c5195424bdbcabf5de30fdc183aba391bd.tar.xz |
obtained gcc-4.6.4.tar.bz2 from upstream website;upstream
verified gcc-4.6.4.tar.bz2.sig;
imported gcc-4.6.4 source tree from verified upstream tarball.
downloading a git-generated archive based on the 'upstream' tag
should provide you with a source tree that is binary identical
to the one extracted from the above tarball.
if you have obtained the source via the command 'git clone',
however, do note that line-endings of files in your working
directory might differ from line-endings of the respective
files in the upstream repository.
Diffstat (limited to 'maintainer-scripts/update_web_docs_libstdcxx_svn')
-rwxr-xr-x | maintainer-scripts/update_web_docs_libstdcxx_svn | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/maintainer-scripts/update_web_docs_libstdcxx_svn b/maintainer-scripts/update_web_docs_libstdcxx_svn new file mode 100755 index 000000000..514243ddf --- /dev/null +++ b/maintainer-scripts/update_web_docs_libstdcxx_svn @@ -0,0 +1,46 @@ +#!/bin/sh + + +# "sh update_web_docs_libstdcxx.sh" +# Checks out a copy of the libstdc++-v3 "inner" documentation and puts +# it in the onlinedocs area. For an initial description of "inner" +# docs, see the thread starting with +# http://gcc.gnu.org/ml/libstdc++/2000-11/msg00475.html +# +# Id: update_v3_web_docs.sh,v 1.4 2000/12/25 05:02:14 pedwards Exp +##################################################################### + +SVNROOT=${SVNROOT:-"file:///svn/gcc"} +GETTHIS='libstdc++-v3/doc/html' +WWWDIR=/www/gcc/htdocs/onlinedocs/libstdc++ +#WWWDIR=/tmp/fake-onlinedocs-testing + + +## No more changes should be needed. Ha, right, whatever. +##################################################################### + + +PATH=/usr/local/bin:$PATH +export SVNROOT + +test -d $WWWDIR || /bin/mkdir $WWWDIR +test -d $WWWDIR || { echo something is very wrong ; exit 1; } + +WORKDIR=/tmp/v3-doc-update.$$ +/bin/rm -rf $WORKDIR +/bin/mkdir $WORKDIR +cd $WORKDIR + + +# checkout all the HTML files, get down into an interesting directory +svn -q export $SVNROOT/trunk/$GETTHIS doc +cd doc +rm -f Makefile + +# copy the tree to the onlinedocs area, preserve directory structure +#find . -depth -print | cpio -pdv $WWWDIR +find . -depth -print | cpio -pd $WWWDIR > /dev/null 2>&1 + +cd / +/bin/rm -rf $WORKDIR + |