3 # $Id: doxygen_filter.sh 23610 2011-12-19 20:56:42Z truebrain $
5 # This file is part of OpenTTD.
6 # OpenTTD is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 2.
7 # OpenTTD is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
8 # See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with OpenTTD. If not, see <http://www.gnu.org/licenses/>.
10 # Set neutral locale so sort behaves the same everywhere
14 # We really need gawk for this!
17 ${AWK} --version > /dev
/null
2> /dev
/null
18 if [ "$?" != "0" ]; then
19 echo "This script needs gawk to run properly"
24 *ai_changelog.hpp
) cat $2; exit 0;;
25 *game_changelog.hpp
) cat $2; exit 0;;
28 ${AWK} -v api
=$1 -f doxygen_filter.
awk $2