File: doxyfix

package info (click to toggle)
eigen 1.0.5-2
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 452 kB
  • ctags: 476
  • sloc: cpp: 4,012; ansic: 224; sh: 17; makefile: 2
file content (34 lines) | stat: -rwxr-xr-x 1,193 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
#!/bin/sh

# the following changes are not for the base classes, so we temporatily
# move the relevant files to a separate directory
mkdir tmp_doxyfix
mv html/*Base*.html tmp_doxyfix/

perl -pi~ -e 's/Derived/VectorX/g' html/*VectorX*.html
perl -pi~ -e 's/VectorBase\<\/a\>\&lt\; T\, VectorX \&gt\;/VectorX\<\/a\>/g' html/*VectorX*.html

perl -pi~ -e 's/Derived/Vector/g' html/*Vector*.html
perl -pi~ -e 's/VectorBase\<\/a\>\&lt\; T\, Vector \&gt\;/Vector\<\/a\>/g' html/*Vector*.html

perl -pi~ -e 's/Derived/MatrixX/g' html/*MatrixX*.html

perl -pi~ -e 's/Derived/Matrix/g' html/*Matrix*.html

perl -pi~ -e 's/VectorType/VectorX\&lt\;T\&gt\;/g' html/*MatrixX*.html
perl -pi~ -e 's/VectorType/Vector\&lt\;T\,Size\&gt\;/g' html/*Matrix*.html

perl -pi~ -e 's/VectorType/VectorX\&lt\;T\&gt\;/g' html/*LinearSolverX*.html
perl -pi~ -e 's/VectorType/Vector\&lt\;T\,Size\&gt\;/g' html/*LinearSolver*.html

perl -pi~ -e 's/namespaceEigen/modules/' html/index.html

perl -pi~ -e 's/iso-8859-1/utf-8/' html/index.html

# move the files of the base classes back to html/
# and delete temporary directory
mv tmp_doxyfix/* html/
rmdir tmp_doxyfix

# remove the backup files generated by perl
rm html/*~