source: rtems/cpukit/doxy-filter @ a7d04d6

4.115
Last change on this file since a7d04d6 was cd8009e, checked in by Ralf Corsepius <ralf.corsepius@…>, on 06/11/10 at 19:36:36

New (Copy of ../tools/build/doxy-filter).

  • Property mode set to 100755
File size: 423 bytes
Line 
1#!/bin/sh
2
3# doxygen input filter
4# $Id$
5
6# usage: doxy-filter <input-file-name>
7# Reads <input-file> and writes to stdout.
8
9file=$1
10
11# Does file contain a doxygen @file directive?
12if ! grep -q '@file' $file >/dev/null ; then
13# No, add one
14echo "/** @file $file */"
15cat $file
16else
17# Yes, adjust path to work around doxygen not being able to
18# distinguish file names properly
19exec sed -e "s,@file.*$,@file $file," $file
20fi
21
Note: See TracBrowser for help on using the repository browser.