source: trunk/vbfilter.sh @ 39

Revision 39, 1.2 KB checked in by sevo, 7 months ago (diff)
- optimized file header generation (let doxygen extract filename) - fixed namespace generation for folder names with whitespaces - added support for "As New Type" declares - fixed gawk warning on square brackets - fixed superfluous "Function" in Declares - fixed VB Types (structures) - added support for "Partial" classes - removed hardcoded paths from vbfilter.bat and vbfilter.sh - added a more sophisticated make system including make.[bat|sh] scripts and a Makefile - added/updated file headers in scripts - updated examples
Line 
1#!/bin/sh
2#-----------------------------------------------------------------------------
3# make.sh - wraps gawk call to be used in a Doxyfile
4#-----------------------------------------------------------------------------
5# Creation:     09.10.2011  Vsevolod Kukol
6# Last Update:  -
7#
8# This script is meant to be used by the FILTER_PATTERNS setting
9# in a Doxyfile, because FILTER_PATTERNS does not allow parameters.
10# Alternatively it can be used by the INPUT_FILTER option.
11#
12# Using INPUT_FILTER option:
13#   Set options in your Doxyfile as follows:
14#      INPUT_FILTER           = /path/to/make.sh
15#
16# Using FILTER_PATTERNS option:
17#   Set options in your Doxyfile as follows:
18#      INPUT_FILTER           =
19#      FILTER_PATTERNS        = *.vb=/path/to/make.sh
20#
21# Copyright (c) 2011 Vsevolod Kukol, sevo(at)sevo(dot)org
22#
23# This program is free software; you can redistribute it and/or modify
24# it under the terms of the GNU General Public License as published by
25# the Free Software Foundation; either version 2 of the License, or
26# (at your option) any later version.
27#-----------------------------------------------------------------------------
28
29SCRIPT_DIR=$(dirname $(readlink -f $0))
30gawk -f $SCRIPT_DIR/vbfilter.awk "$1"
Note: See TracBrowser for help on using the repository browser.