4.115
Last change
on this file since 3c96bee was
65c6425,
checked in by Joel Sherrill <joel.sherrill@…>, on 05/03/12 at 17:24:46
|
Remove CVS Id Strings (manual edits after script)
These modifications were required by hand after running the script.
In some cases, the file names did not match patterns. In others,
the format of the file did not match any common patterns.
|
-
Property mode set to
100755
|
File size:
417 bytes
|
Line | |
---|
1 | #!/bin/sh |
---|
2 | # |
---|
3 | # doxygen input filter |
---|
4 | |
---|
5 | # usage: doxy-filter <input-file-name> |
---|
6 | # Reads <input-file> and writes to stdout. |
---|
7 | |
---|
8 | file=$1 |
---|
9 | |
---|
10 | # Does file contain a doxygen @file directive? |
---|
11 | if ! grep -q '@file' $file >/dev/null ; then |
---|
12 | # No, add one |
---|
13 | echo "/** @file $file */" |
---|
14 | cat $file |
---|
15 | else |
---|
16 | # Yes, adjust path to work around doxygen not being able to |
---|
17 | # distinguish file names properly |
---|
18 | exec sed -e "s,@file.*$,@file $file," $file |
---|
19 | fi |
---|
20 | |
---|
Note: See
TracBrowser
for help on using the repository browser.