Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
riscv-gcc-1
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
riscv-gcc-1
Commits
7f52714a
Commit
7f52714a
authored
Oct 17, 2005
by
Daniel Berlin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add svn version
From-SVN: r105484
parent
4dc7b0f0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
51 additions
and
0 deletions
+51
-0
maintainer-scripts/update_web_docs_libstdcxx_svn
+51
-0
No files found.
maintainer-scripts/update_web_docs_libstdcxx_svn
0 → 100755
View file @
7f52714a
#!/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/docs/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
docs
cd
docs
rm
-f
Makefile
# build a compressed copy of the HTML, preserve directory structure
for
file
in
`
find
.
-name
"*.html"
-print
`
;
do
gzip
--best
<
$file
>
$file
.gz
done
# 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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment