source: rtems/cpukit/doxy-filter @ f785492

4.115
Last change on this file since f785492 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
8file=$1
9
10# Does file contain a doxygen @file directive?
11if ! grep -q '@file' $file >/dev/null ; then
12# No, add one
13echo "/** @file $file */"
14cat $file
15else
16# Yes, adjust path to work around doxygen not being able to
17# distinguish file names properly
18exec sed -e "s,@file.*$,@file $file," $file
19fi
20
Note: See TracBrowser for help on using the repository browser.