summaryrefslogtreecommitdiffstats
path: root/doc/input-filter.sh
blob: 8c71befa11ce3b5b2e23d0af29f6db78f6477672 (plain)
1
2
3
4
5
6
7
8
9
10
#!/bin/bash
#
# Doxygen input filter that adds \privatesection to all files,
# and removes macros.
#
# This is used for .c files, and causes Doxygen to not include
# any symbols from them, unless they also appeared in a header file.
#
echo -n "/** \privatesection */ "
sed -e 's/#define.*//' < "$1"