forked from sevoku/doxygen-vb-filter
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathvbfilter.sh
More file actions
executable file
·30 lines (29 loc) · 1.21 KB
/
vbfilter.sh
File metadata and controls
executable file
·30 lines (29 loc) · 1.21 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#!/bin/sh
#-----------------------------------------------------------------------------
# make.sh - wraps gawk call to be used in a Doxyfile
#-----------------------------------------------------------------------------
# Creation: 09.10.2011 Vsevolod Kukol
# Last Update: -
#
# This script is meant to be used by the FILTER_PATTERNS setting
# in a Doxyfile, because FILTER_PATTERNS does not allow parameters.
# Alternatively it can be used by the INPUT_FILTER option.
#
# Using INPUT_FILTER option:
# Set options in your Doxyfile as follows:
# INPUT_FILTER = /path/to/make.sh
#
# Using FILTER_PATTERNS option:
# Set options in your Doxyfile as follows:
# INPUT_FILTER =
# FILTER_PATTERNS = *.vb=/path/to/make.sh
#
# Copyright (c) 2011 Vsevolod Kukol, sevo(at)sevo(dot)org
#
# This program 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; either version 2 of the License, or
# (at your option) any later version.
#-----------------------------------------------------------------------------
SCRIPT_DIR=$(dirname $(readlink -f $0))
gawk -f $SCRIPT_DIR/vbfilter.awk "$1"