mirror of
https://gitlab.com/fbb-git/cppannotations
synced 2024-11-16 07:48:44 +01:00
2c33663be7
git-svn-id: https://cppannotations.svn.sourceforge.net/svnroot/cppannotations/trunk@120 f6dd340e-d3f9-0310-b409-bdd246841980
57 lines
791 B
Bash
Executable file
57 lines
791 B
Bash
Executable file
#!/bin/sh
|
|
|
|
cd ../yo
|
|
|
|
echo 1>&2 "
|
|
Construct html files from `pwd`.
|
|
Converting .yo to .html
|
|
"
|
|
|
|
yodl2html --no-warnings -l3 cplusplus
|
|
|
|
if [ $? != 0 ] ; then
|
|
echo html conversion failed
|
|
exit 1
|
|
fi
|
|
|
|
echo 1>&2 "
|
|
Moving .html files to ../html
|
|
"
|
|
|
|
mv *.html ../html
|
|
|
|
cd ../html
|
|
|
|
echo 1>&2 "
|
|
Removing extra blank lines around <pre> ... </pre> tags.
|
|
"
|
|
|
|
../bin/patchhtmlpre
|
|
|
|
echo 1>&2 "
|
|
Constructing contentspage in `pwd`.
|
|
"
|
|
|
|
../bin/htmlcontentspage > contents.html
|
|
|
|
echo 1>&2 "
|
|
Constructing the html-index.
|
|
"
|
|
|
|
../bin/htmlindex # construct index page
|
|
|
|
if [ $? != 0 ] ; then
|
|
echo index construction not without errors
|
|
exit 1
|
|
fi
|
|
|
|
|
|
echo 1>&2 "
|
|
Removing <index ...> entries from cplusplusXX.html files.
|
|
"
|
|
|
|
../bin/patchhtmlindexentries
|
|
|
|
echo 1>&2 "
|
|
Ready to zip it up
|
|
"
|