bfd: fix generation of bfd.texi in out-of-tree builds
[binutils-gdb.git] / gdb / doc / filter-for-doxygen
blob457d088c104da62b1faa2e90f241f19cff2b49b3
1 #!/bin/sh
3 # This filters GDB source before Doxygen can get confused by it;
4 # this script is listed in the doxyfile. The output is not very
5 # pretty, but at least we get output that Doxygen can understand.
7 # $1 is a source file of some kind. The source we wish doxygen to
8 # process is put on stdout.
10 # (Adapted from gcc/contrib/filter_gcc_for_doxygen)
12 dir=`dirname $0`
13 perl $dir/filter-params.pl < $1
14 exit 0